I have just started working with FrontEndUser and CustomContent and came across a problem when trying to check if the user is logged in.
the following code
Code: Select all
{if $ccuser->loggedin()}
Welcome user
{else}
You are not authorised to view this message!
{/if}
Code: Select all
string(131) "Smarty error: [in content:content_en line 1]: syntax error: unidentified token ';loggedin()' (Smarty_Compiler.class.php, line 1407)"
Parse error: parse error in /Library/WebServer/Documents/cmsmadesimple-1.2/tmp/templates_c/87^%%70^707^707A8977%%content%3Acontent_en.php on line 4
I am using
CustomContent 1.4.10
FrontEndUsers 1.3.1
Thanks
Gill


