I've used the FrontEndUser with CustomContent visual tutorial to figure out how to hide the menu (as well as other content throughout the site) from members who are not logged in. In order to make all the content private, I had to add the following code to my content section of the template:
Code: Select all
{if $ccuser->loggedin()}
{content}
{else}
You must be logged in to view this page.
{/if}
With the menu, all I had to do is add the excludeprefix='private_' to the menu's snippet. Is there a way to do something like this with the {content} code?
I tried just adding "excludeprefix='public_' but that didn't do anything. I am sure this is because that is to be used on the menu snippet, only.
Thanks a bunch!
Suzanne

