How to add My Account and Contact Us links to a letter footer
- Product: Alma
- Product Version: February 2017
- Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare
Question
How do I add "My Account" and/or "Contact Us" to the letter footer?
Answer
Perform the following steps:
1. From the Alma menu under General configuration > Configuration Menu > General Configuration select "Customize Letters"
2. Locate letter to edit and click "Customize" (or Actions > Edit)
3. Scroll to the bottom of the xsl
4. Insert a line by placing the cursor at the end of line with the text of:
<xsl:call-template name="lastFooter" />
5. To add "My Account" insert the following text:
<xsl:call-template name="myAccount" />
6. To add "Contact Us" insert the following text:
<xsl:call-template name="contactUs" />
7. Click on the Save button
8. Test the letter to verify that the footer appears as desired.
End result: xsl for "My Account" and "Contact us" will appear between the xml code of <xsl:call-template name="contactUs" /> and </body>
Snippet to add:
<xsl:call-template name="myAccount" /> <xsl:call-template name="contactUs" />
Resulting footer section:
<!-- footer.xsl --> <xsl:call-template name="lastFooter" /> <xsl:call-template name="myAccount" /> <xsl:call-template name="contactUs" /> </body> </html> </xsl:template> </xsl:stylesheet>
- Article last edited: 10-Mar-2017