From: Demian K. <dem...@vi...> - 2013-08-21 19:43:38
|
That's going to be a bit trickier - ILS functionality is isolated to the holdings tab to reduce load (that way you're not pulling from the ILS for every single tab of the display). Two options spring to mind immediately: 1.) If you need this always visible in the core metadata, you may need to add some record driver methods and/or a new view helper of some sort to pipe the data to the appropriate spot. This will obviously have some performance/load implications. 2.) If you want a lazy/hacky approach and don't care if the data is conditional on the user viewing the holdings tab, you could customize the holdings tab with some Javascript code that dynamically injects the data into a different part of the screen. Really ugly, and probably bad form for me to even suggest such a thing - but it could be done. Let me know if you need more specifics... but examining how the HoldingsILS record tab helper works should at least start to point you in the right general direction. - Demian From: Jay Roos [mailto:ja...@gm...] Sent: Wednesday, August 21, 2013 3:25 PM To: Demian Katz Cc: vuf...@li... Subject: Re: [VuFind-Tech] Adding total copies/holds to record display No, unfortunately we want it above the holdings tab. On Wed, Aug 21, 2013 at 2:16 PM, Demian Katz <dem...@vi...<mailto:dem...@vi...>> wrote: Where do you want to display this? If you only need it on the holdings tab, I suspect that you can just modify the template for displaying holdings (RecordTab/holdingsils.phtml) to gather the relevant information. - Demian From: Jay Roos [mailto:ja...@gm...<mailto:ja...@gm...>] Sent: Wednesday, August 21, 2013 3:05 PM To: vuf...@li...<mailto:vuf...@li...> Subject: [VuFind-Tech] Adding total copies/holds to record display We are interested in adding a count of how many copies we have (preferably available for holds) and the total number of holds on a bib record. I see that Marmot has done this. Could someone point me in the right direction? |