Ryan Kent
Well-known member
I would like to add a "Legal" next to "Terms and Rules". I've successfully added Privacy Policy in the past but it seems XF had xen.Options already set up for that particular footer link. I tried adding the same style of code for "legal" but it isn't working.
Where can I view/add xenOptions.legal to make this code work?
Where can I view/add xenOptions.legal to make this code work?
Code:
<ul class="footerLinks">
<xen:hook name="footer_links">
<xen:hook name="footer_links_legal">
<xen:if is="{$xenOptions.legalUrl}"><li><a href="{$xenOptions.legal}">{xen:phrase legal}</a></li></xen:if>
<xen:if is="{$tosUrl}"><li><a href="{$tosUrl}">{xen:phrase terms_and_rules}</a></li></xen:if>
<xen:if is="{$xenOptions.privacyPolicyUrl}"><li><a href="{$xenOptions.privacyPolicyUrl}">{xen:phrase privacy_policy}</a></li></xen:if>