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.
Some subsections need to be customcontent
-
sabernar
Re: Some subsections need to be customcontent
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.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Some subsections need to be customcontent
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.
I'd have to fool with the params of the menumanager module again to do this, but it is possible.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
