Page 1 of 1

Custom Content 1.4.0

Posted: Sat Apr 15, 2006 11:32 am
by Daniel
First of all, I have been using CMSMS for a few days now, trying to set up a website for my church.  Currently, the website is incomplete, so I want to restrict access to myself and the Minister.  I decided to use the CustomContent Module to do this.  However, when I put the Custom Content tags in the source, it still displays the restricted content which should only be available to logged in users.  Please help!

Source code for home page:

Code: Select all

{cms_module module=CustomContent} 
<!--CustomContent: startif group=viewers -->  
{cms_module module='News'  number='10' }  
<!--CustomContent: endif -->
Phpinfo() readout is at:
http://stcolmans.awardspace.co.uk/getphpinfo.php

Attached is:
1) What homepage shows when not logged in at all
2) What homepage shows when logged into "viewers" group
3) What the modules page in the Admin Panel shows

Thanks in advance, if any other details are needed, just ask

Daniel

[attachment deleted by admin]

Re: Custom Content 1.4.0

Posted: Sat Apr 15, 2006 2:25 pm
by calguy1000
The CustomContent module's syntax is a bit sticky.

the syntax is (case sensitive): 
                                                       
                                                     

of course the else is optional

Re: Custom Content 1.4.0

Posted: Sat Apr 15, 2006 8:58 pm
by Daniel
Thank you!!  The problem is cured!  Just to let you know, I love the FrontEnd Users module and the Custom Content, they're so useful, whether it is for a site which needs a user system or just for testing, like this example...

Thanks again! ;D

Daniel