1
I modified my system block mainmenu to include a custom link but I would like to make that link hidden from unregistered users. I saw info pertaining to creating a whole menu this way but I was wondering if there was a simple way of adding that variable to the manimenu code? Here it is currently:
<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
<!-- start module menu loop -->
<{foreach item=module from=$block.modules}>
<a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a>
<{foreach item=sublink from=$module.sublinks}>
<a class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
<{/foreach}>
<{/foreach}>
<!-- end module menu loop -->
<a class="menuMain" href="/modules/cjaycontent/index.php?id=3">Guild Roster</a>
</td>
</tr>
</table>
Thanks for your help!