as far as I remember there was a reason why we didn't use the title_level_holds. But our admin, Kate, is back from holidays next week - then I'll know more.
If I still need any information then, I'll contact the list. Thanks!!

Christian



Am 26.06.2013 14:23, schrieb Demian Katz:

Does it help if you set title_level_holds_mode in config.ini to “availability”?  This will only show the link if all items are unavailable.  However, if you do this, it will no longer consult the driver to see if title-level holds are applicable, so it may cause problems in some scenarios.

 

If the “availability” mode doesn’t meet your needs, another option would be to loop through the items and set a new variable, then use that variable to control the display….  Let me know if you need more details!

 

- Demian

 

From: Christian Dabrowski [mailto:dabrowski.christian@fh-swf.de]
Sent: Wednesday, June 26, 2013 7:30 AM
To: vufind-general@lists.sourceforge.net
Subject: [VuFind-General] show "Recall-This-Button" - V1.4

 

Hi Vufinders,

I would like to show the Recall-This-Button on title level (holdings.tpl) only when no other item of the same title is available. I tried to do it with an if-statement {if $ava_text == 'Available'} button code here {/if} but realized that $ava_text is item dependent ($row.ava_text). Thus it doesn't work and the button is never visible. Is there any other variable I could check to solve this?


Christian