Page 1 of 1

FrontEndUser 1.6.4 and CustomContent 1.5.2

Posted: Wed Mar 18, 2009 6:50 pm
by interfolo
Hi,

I'am new in cmsms, so sorry if my question could be trivial.
I have cmsms 1.5.3 with FrontEndUser 1.6.4 and CustomContent 1.5.2. I followed exactly the procedure from the (very good) tutorial found in the wiki. The login procedure is ok, but when I try to go into the page with the CustomContent check:

{if $customcontent_loggedin > 0}
Welcome  {$customcontent_loginname}
{else}
Not authorized
{/if}

I receive the following:

Parse error: syntax error, unexpected '>' in /var/www/localhost/htdocs/best/tmp/templates_c/52^%%70^707^707A8977%%content%3Acontent_en.php on line 3

Thanks in advance for any help

Re: FrontEndUser 1.6.4 and CustomContent 1.5.2

Posted: Wed Mar 18, 2009 9:49 pm
by interfolo
Solved reading to this post:
[solved] $ccuser->loggedin() generates smarty error

thanks to Alby, it's suggestion, to move the code into template, solved my problem.