[Solved] Front end users & CustomContent Problem

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.
Post Reply
carlillos
New Member
New Member
Posts: 5
Joined: Thu Jan 24, 2008 2:35 pm

[Solved] Front end users & CustomContent Problem

Post 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
Last edited by carlillos on Tue Feb 05, 2008 11:33 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Front end users & CustomContent Problem

Post 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.
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.
carlillos
New Member
New Member
Posts: 5
Joined: Thu Jan 24, 2008 2:35 pm

Re: Front end users & CustomContent Problem

Post 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
carlillos
New Member
New Member
Posts: 5
Joined: Thu Jan 24, 2008 2:35 pm

Re: Front end users & CustomContent Problem

Post by carlillos »

forget the previous post.  it is working now.  thank you Calguy.

:)  Carlos
Post Reply

Return to “CMSMS Core”