The view-holdings.tpl is controlled by web/services/Record/Holdings.php file.  You can "assign" any variables you need to the template from the "controller"

Andrew

On Fri, May 29, 2009 at 10:42 AM, Eric Lease Morgan <emorgan@nd.edu> wrote:

How can I pass something like $record used in list-list.tpl to view-
holdings.tpl?

View-holdings.tpl seems to get two data structures as input: 1) $marc
and 2) $holdings. $marc is used to display URLs. $holdings seems to be
gotten from the locally configured driver which is expected to connect
to the underlying ILS for availability information, etc. In my case,
much of this is not necessary; all I need for right now is stored in
the local Solr index and was embodied in $record.

Is there someway I can pass and/or read $record in view-holdings.tpl?

--
Eric Lease Morgan
University of Notre Dame


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Vufind-tech mailing list
Vufind-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vufind-tech