Page 1 of 1

[Solved] Front end users & CustomContent Problem

Posted: Tue Feb 05, 2008 10:45 pm
by carlillos
Hello everyone,

I am new with cmsms, I am playing around to learn, I am doing one of the visual tutorial (Front End user and CustomContent) and I am having an error, Also I am looking for some info and I couldn't find what is my problem. 
but here is my error, hope some one can help me or point me to the right way.

I can login fine but if I go to a private page this is the error.
string(131) "Smarty error: [in content:content_en line 1]: syntax error: unidentified token ';loggedin()' (Smarty_Compiler.class.php, line 1407)" string(126) "Smarty error: [in content:content_en line 1]: syntax error: unidentified token ';&' (Smarty_Compiler.class.php, line 1407)"
Parse error: syntax error, unexpected '&' in C:\Program Files\xampp\htdocs\ministeriomultimedia.com\tmp\templates_c\55^%%70^707^707A8977%%content%3Acontent_en.php on line 5
Here is the code in the page content:
{if $ccuser->loggedin()}
hello user
{else}
You are not authorized to view this page
{/if}
Also I tried this:
{if $ccuser->loggedin() && $customcontent_loginname == $page_alias }
{content}
{else}
You are not authorized to view this page
{/if}
Thanks,

Carlos

Re: Front end users & CustomContent Problem

Posted: Tue Feb 05, 2008 10:56 pm
by calguy1000
shut the wysiwyg off.... they're for customers to edit content, not for developers and designers to layout sites with

then it'll probably work.

Re: Front end users & CustomContent Problem

Posted: Tue Feb 05, 2008 11:27 pm
by carlillos
Thanks for replying,

I turned off and this error came up:
Parse error: syntax error, unexpected '&' in C:\Program Files\xampp\htdocs\ministeriomultimedia.com\tmp\templates_c\55^%%70^707^707A8977%%content%3Acontent_en.php on line 3
I did step by step of the tutorial.

???
Carlos

Re: Front end users & CustomContent Problem

Posted: Tue Feb 05, 2008 11:33 pm
by carlillos
forget the previous post.  it is working now.  thank you Calguy.

:)  Carlos