Page 1 of 1
Some subsections need to be customcontent
Posted: Sun Jun 18, 2006 9:51 pm
by sabernar
I have some subsections in my menu that should only be shown if a user is logged in and of a certain group. Is there an easy way to do this?
Thanks.
Re: Some subsections need to be customcontent
Posted: Mon Jun 19, 2006 10:07 pm
by sabernar
Anyone? Come on, someone has to know how to do this. Worst comes to worst, I'll just allow everyone to see the page and then I'll make the content of that page restricted. Not an ideal solution, but it should work well enough.
Re: Some subsections need to be customcontent
Posted: Mon Jun 19, 2006 11:51 pm
by calguy1000
Well.... there's no built in way (yet) to do this, as there is no way of indicating wether a page has private content or not. Typically what you would do is to put your private pages under a section header that is not shown in the menu, and then create two {cms_module module=menumanager} tags. One to show the main/public content, and the other, inside a customcontent if statement that shows only the private pages.
I'd have to fool with the params of the menumanager module again to do this, but it is possible.