I want to hide all menu items from non-logged in users except those marked with alias "public_"
I want to show menu items with alias "priv_' to ANY logged in users of any group
I want to show menu items with alias "inv_" only to members of FEU group "investors" - therefore "investors" would still access the other menu items as they are logged in users!
I also want to restrict searching based upon the same FEU group content restrictions
I've tried searching the forums but don't see a solutions which matches this issue
Came close but can't get this to work right
Code: Select all
{if $ccuser->loggedin() && $ccuser->memberof('public')}
{if $ccuser->memberof('investors')}
{menu template='cssmenu.tpl' excludeprefix='priv_'}
{else}
{menu template='cssmenu.tpl' excludeprefix='inv_'}
{/if}
{else}
{menu template='cssmenu.tpl' excludeprefix='public_'}
{/if}