I've searched and can't find the answer...is it possible to have menu items that show up to only logged in users? I'm using FrontEndUsers and CustomContent, of course.
I expect I have to modify my menu template somehow to accomplish this...right?
Tim
CustomContent: menu items only for logged in users
Re: CustomContent: menu items only for logged in users
two options, either modify your menutemplate and wrap each item with customcontent markup (might be very slow) or create two menus and wrap the other one with customcontent specific tags
hope this helps
hope this helps
Re: CustomContent: menu items only for logged in users
I tried something totally different that involved the "Items" parameter to the {menu} tag, but it doesn't work so far because when I use "items", the menu hierarchy is overriden.
Re: CustomContent: menu items only for logged in users
I have a site that only shows the menu once logged in.. I put this code in my menu template just above the tag:
{cms_module module=CustomContent}
{if isset($customcontent_loggedin) && $customcontent_loggedin > 0 }
{if $count > 0}
Don't forget to add a closing "{/if}" at the end of the template.
I then put this code into my layout template:
{cms_module module=CustomContent}
{if isset($customcontent_loggedin) && $customcontent_loggedin > 0 }
{content}
{else}
Place alternate message here!
Blah blah blah...
{/if}
{cms_module module=CustomContent}
{if isset($customcontent_loggedin) && $customcontent_loggedin > 0 }
{if $count > 0}
Don't forget to add a closing "{/if}" at the end of the template.
I then put this code into my layout template:
{cms_module module=CustomContent}
{if isset($customcontent_loggedin) && $customcontent_loggedin > 0 }
{content}
{else}
Place alternate message here!
Blah blah blah...
{/if}
Re: CustomContent: menu items only for logged in users
Hellorichbothe wrote: I have a site that only shows the menu once logged in.. I put this code in my menu template just above the tag:
{cms_module module=CustomContent}
{if isset($customcontent_loggedin) && $customcontent_loggedin > 0 }
{if $count > 0}
Don't forget to add a closing "{/if}" at the end of the template.
I then put this code into my layout template:
{cms_module module=CustomContent}
{if isset($customcontent_loggedin) && $customcontent_loggedin > 0 }
{content}
{else}
Place alternate message here!
Blah blah blah...
{/if}
i search for the same Problem.
I dont find in my menu template
I have the standard Install from CMSms 1.0.6
Can you tell me some more Details?
Thanks