<li><a href="{xen:link 'misc/contact'}" class="OverlayTrigger" data-overlayOptions="{"fixed":false}">{xen:phrase contact_us}</a></li>
<ul class="footerLinks">
<xen:hook name="footer_links">
<xen:if is="{$xenOptions.contactUrl.type} === 'default'">
<li><a href="{xen:link 'misc/contact'}"> <!-- class="OverlayTrigger" data-overlayOptions="{"fixed":false}"> --> {xen:phrase contact_us}</a></li>[/CODE=rich]
You can't do that with CSS, you would need to wrap each item in a conditional statement.
Other than nodes and profiles pages though, which can be protected from guests using permissions, the only other page you would need to restrict is the members page, which you have already done.
<!-- hide from unreg -->
<xen:if is="{$visitor.user_id}">
<!-- End hide for unreg -->
<xen:else />
<div class="RoundedDiv" style="padding: 15px; float-left; margin-left: 100px; margin-top: 30px; margin-bottom: 20px; font-size: medium; color: green; background: #ffffff; width: 600px;">
<center><b>If you are a member of House Morgain</b> you are seeing this message because you are not logged in - probably you timed out. Log in using the link top right.<br /><br />
<b>TO OUR VISITORS</b><br />we apologise for the inconvenience to you, but the link you clicked is a private members' only area.<br />
To join House Morgain so you can access the whole community<br />instead of just the public areas, <br />please contact us with a little bit of information about what interests you in our community.</center>
</div>
<div style="float: left; margin-left: 100px;">
<xen:include template="contact" /></include>
</div>
</xen:if>
<xen:include template="helper_captcha_unit" /></include>
We use essential cookies to make this site work, and optional cookies to enhance your experience.