Move terms and rules into Contact Us bar

jauburn

Well-known member
I have a branding free version of xenforo, so the only thing at the bottom of the board is the Terms and Rules text, hanging over to the right, which is a waste of space and looks stupid. How can I move that (and the forthcoming privacy statement) into the bottom bar that contains Contact Us, Home, Top, and so forth? Thanks.
 
In template 'footer' find:
HTML:
<xen:hook name="footer_links_legal">
<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>
</xen:hook>

select and cut

in same template somewhere at the top find:
HTML:
<xen:if is="{$homeLink}"><li><a href="{$homeLink}">{xen:phrase home}</a></li></xen:if>

paste below above code

Done.
 
In the footer template, this is the code for the terms and privacy policy;
Code:
            <ul id="legal">
            <xen:hook name="footer_links_legal">
                <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>
            </xen:hook>
            </ul>

Cut that from there and just a few lines up you'll see;
Code:
<span class="helper"></span>
Paste it above that and it should show it in the same bar as Contact Us etc.
 
Thanks to both of you. I tried the first method, and it put the words at the end of the bottom bar. I wonder what the second method would do? Also, how would I get the terms and rules text after Contact Us?
 
If you exclude the <u> tags it should not change the order, tried it before posting.

Find:

HTML:
<li><a href="{$xenOptions.contactUrl.custom}" {xen:if {$xenOptions.contactUrl.overlay}, 'class="OverlayTrigger" data-overlayOptions="{&quot;fixed&quot;:false}"'}>{xen:phrase contact_us}</a></li>

below that, add:

HTML:
<xen:hook name="footer_links_legal">
<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>
</xen:hook>
 
Top Bottom