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"


On Fri, May 29, 2009 at 10:42 AM, Eric Lease Morgan <> wrote:

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

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.
Vufind-tech mailing list