OPAC: Remove SFX Button from the Action Box
[This article was copied from the Voyager Wiki.]
Introduction
This relates to the "New" Tomcat WebVoyage that is included in Voyager 7.0.1 and forward.
Out of the box the tomcat version of WebVoyage includes an SFX button in the More About section of the Action Box. If you do not have SFX, you may want to remove this option and that section.
Remove SFX Button and More About section
Comment out the 'actionBox.moreAboutThisItem=More About This Item From' line in webvoyage.properties.
And, change the switch to N in 'actionBox.openUrl.cfg.LOCAL.openUrlDisplay=N' in holdingsInfo.vbib.properties
webvoyage.properties and holdingsInfo.vbib.properties are found here: /m1/voyager/xxxdb/tomcat/vwebv/context/vwebv/ui/your_SKIN
Code Example
webvoyage.properties file
#======================================================== # Action box on the holding information page #======================================================== actionBox.thisItem=This item actionBox.recordView.linkText=Record View actionBox.staffView.linkText=Staff View actionBox.actions=Actions actionBox.actions.makeRequest.order=1 actionBox.actions.makeRequest.linkText=Make a Request actionBox.actions.makeRequest.link.posttext=(e.g. Hold, Recall, Photocopy) actionBox.actions.print.order=2 actionBox.actions.print.linkText=Print actionBox.actions.export.order=3 actionBox.actions.export.linkText=Export actionBox.actions.email.order=4 actionBox.actions.email.linkText=E-mail #NOTE the option.email variable must be Y in order for the email link to appear.
actionBox.actions.addToList.order=5 actionBox.actions.addToList.linkText=Add to My List # actionBox.moreAboutThisItem=More About This Item From # actionBox.openURL properties in holdingsInfo.X.properties # actionBox.requestURI properties in holdingsInfo.X.properties |
Code Example
holdingsInfo.vbib file
#========================================================================= # XSL template to use #========================================================================= holdingsInfo.xsl.stylesheet=displayRecord.xsl
#========================================================================= # Action Box Configuration #========================================================================= # Following line changed to N to remove SFX link actionBox.openUrl.cfg.LOCAL.openUrlDisplay=N |