Quote from: modxxx at Aug 29, 2007, 06:38 AM
I have a webuser signup document which is public. By default this document can be viewed by registered webusers as well. Is there is creative way using document groups and permissions to hide this page (menu item) completely from already registered users, or should I use a snippet on this page to tell them they’re already registered?
I may be misunderstanding it, but I don’t think Dimmy’s solution will actually hide the menu item.
I show a different menu to logged on users by using the Personalize snippet which will insert two different chunks depending on whether a user is logged in or not:
<div id="wayfinderMenu">
[!Personalize? &yesChunk=`LoggedInWayfinderChunk` &noChunk=`NotLoggedInWayfinderChunk` &ph=`user`!]
</div>
Rather than customize the menu or use permissions, I just put the pages that I wanted to hide at a different level in the document tree.
My scheme does the opposite of what you want (it shows MORE menu items to logged in users), but it might give you some ideas. Here is my "LoggedInWayfinderChunk":
<b> Logged in as: [+user+]</b><hr>
[[Wayfinder?&startId=`0`&level=2 &titleOfLinks=`description`]]
Bob