If you have a new enough version of Voyager, you might want to consider switching to the VoyagerRestful driver and turning on hold/recall functionality within VuFind itself (see new settings in the [Catalog] section of config.ini, plus the new VoyagerRestful.ini).  This new feature of VuFind 1.2 should allow a more satisfying user experience, and I’ll be happy to answer questions about it if you have any.

 

If for some reason you cannot or do not wish to use this new feature, the template you will want to modify is web/interface/themes/[your theme]/RecordDrivers/Index/holdings.tpl.  Specifically, this is the block you will want to change:

 

          {if $row.link}

            <a class="holdPlace" href="{$row.link|escape}"><span>{translate text="Place a Hold"}</span></a>

          {/if}

 

I hope this is helpful!

 

- Demian

 

From: Andy Tang [mailto:ATang@kilgore.edu]
Sent: Wednesday, August 31, 2011 12:48 PM
To: vufind-general@lists.sourceforge.net
Cc: Demian Katz
Subject: Where can I modify "place a hold" link

 

Our Vufind just upgrade from 1.0 to 1.2.

I locate  the file view-holdings.tpl in the folder C:\vufind12\web\interface\themes\default\Record.

However, there is only one line  in view-holdings.tpl which is “{include file=$holdingsMetadata}”.

I remember in Vufind 1.0 I modify the code of “<a href="{$url}/Record/{$id|escape:"url"}/Hold">{translate text="Place a Hold"}</a>” in view-holdings.tpl to modify  the “place a hold” link to point to voyager function. But now, I cannot do that.

 

Where should I make a modification on this “place a hold” link?

Any idea is appreciated!

 

Thanks a lot!

 

Andy Tang
Systems/Electronic Resources Librarian
Randolph C. Watson Library
Kilgore College
1100 Broadway
Kilgore, TX 75662
Telephone:  (903) 983-8240
Fax:  (903) 983-8638
Email: atang@kilgore.edu