Block display of Personal Information in Voyager OPAC
- Product: Voyager
- Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare
Question
How do we block personal information from displaying in the Tomcat Voyager WebVoyage OPAC My Account screen?
Answer
The easiest way to do this is to remove the Personal Information link by commenting out the Personal Info Link section of the myAccountLinks.xsl file:
<!-- ##### Personal Info Link ##### -->
<!-- <xsl:if test="$displayType != 'personalinfo'">
<xsl:for-each select="/page:page//page:element[@nameId='page.myAccount.viewPersonalInfo.link']">
<li>
<a class="btnltbluelink" href="{page:URL}"><span><xsl:value-of select="page:linkText
"/></span></a>
</li>
</xsl:for-each>
</xsl:if>
-->
This file is found in the .../ui/<skin>/xsl/pageFacets directory.
Additional Information
If you want to take a more granular approach, replace the information inside the appropriate <div> tag in the .../xsl/contentLayout/cl_personalInfo.xsl file with a message of your choice.
For example to remove the Permanent Address from the Personal Info display and replace it with "Removed Due to Security Concerns", change this:
<div id="dataPermanentAddress">
<xsl:call-template name="buildAddressData">
<xsl:with-param name="eleName" select="'page.myAccount.viewPersonalInfo.permanentAddress'"/>
</xsl:call-template>
</div>
To this:
<div id="dataPermanentAddress">
Removed Due to Security Concerns.
</div>
- Article last edited: 02-Mar-2021