Some subsections need to be customcontent

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
sabernar

Some subsections need to be customcontent

Post 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.
sabernar

Re: Some subsections need to be customcontent

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Some subsections need to be customcontent

Post 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.
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.
Locked

Return to “CMSMS Core”