Hiding Private Content Tutorial Help

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
emiller
New Member
New Member
Posts: 2
Joined: Thu Dec 01, 2011 9:57 pm

Hiding Private Content Tutorial Help

Post by emiller »

"Hiding Private Content in CMS Made Simple" is a great document, but I think may need an update. After walking through the tutorial, I ran into a problem on page 24, bullet number 3. There is no "extra1" field, but under Content >> Pages, I can edit "Restricted Test 1", go to the "Options" tab, there is a "Extra Page Attribute 1:", but adding the word 'restricted' doesn't appear to set the $node->extra1 == 'restricted'. In the next step in the book (bullet 4), adding the 'if' brackets around the simple-restricted Menu Manager templete seems to indicate the $node->extra1 == ''. Any idea how to set the "Restricted Test 1" pages $node->extra1 varable?

Thanks in advance,

CMS Made Simple™ 1.10.2 "Casa Pilote"
Apache ver. 2.2.19 (Unix)
PHP version 5.2.*
MySQL ver. 5.1

CGExtensions 1.27.2 Installed
CMSMailer 2.0.2 Installed
CMSPrinting 1.0 Installed
Captcha 0.4.5 Installed
CustomContent 1.7.3 Installed
FileManager 1.2.0 Installed
FrontEndUsers 1.16.4 Installed
MenuManager 1.7.7 Installed
MicroTiny 1.1.1 Installed
ModuleManager 1.5.3 Installed
News 2.12.3 Installed
Search 1.7 Installed
SelfRegistration 1.6.13 Installed
ThemeManager 1.1.4 Installed
cfra2701
Forum Members
Forum Members
Posts: 11
Joined: Sat Dec 03, 2011 5:21 pm

Re: Hiding Private Content Tutorial Help

Post by cfra2701 »

HI,

If you installed CustomContent and FEU, you should be able to choose "restricted (or protected) content" in the type of content scrolldown. You will also see a "permissions" tab giving you access to a menu where you can grant or not one or many groups you created before in FEU.

Calguy implemented this some time ago. Thanks to him cause its much easier and you keep extra fields free :-)
Last edited by cfra2701 on Sun Dec 04, 2011 7:21 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Hiding Private Content Tutorial Help

Post by RonnyK »

And make sure that you dont call Menu with loadprops="0", as that doesnt push the properties to the call.

Ronny
emiller
New Member
New Member
Posts: 2
Joined: Thu Dec 01, 2011 9:57 pm

Re: Hiding Private Content Tutorial Help

Post by emiller »

Ah, thanks! That works so much easier. I did manage to figure out a convoluted way also, but the pull down menu doesn't require messing with the menu manager templates. Although this did help me learn a little bit about smarty code, calguy's way is much nicer and cleaner.

thank you all!
Post Reply

Return to “Modules/Add-Ons”