Page 1 of 1

Frontend user menu protection

Posted: Wed Mar 09, 2011 6:14 am
by youngs
I am running CMS made simple 1.9.3, php 5.3.5, mysql 5.1.55, apache 2.2.17 on fedora 14. I have the modules FrontEndUser version 1.12.12 and CustomContent version 1.7.3 installed

I've used the following code to make it so that my protected pages don't show up in the menu.

{cms_module module='CustomContent'}
{if $ccuser->loggedin() && $ccuser->memberof('troop')}
{menu template='menu-restricted'}
{else}
{menu excludeprefix='priv1_' template='menu-restricted'}
{/if}

My question is there a why to make protected pages not show up when using the {cms_selflink} tag?
{cms_selflink dir="previous"}
{cms_selflink dir="next"}

Thanks