Problem with userdefined tags
Posted: Sun Dec 02, 2007 4:55 pm
Hi
I cant get the userdefined tags to work properly. So I hope that some of you can help fixing the problem.
I have made a userdefined tag named "lederlogon". To be very simple it just contains this code: echo "hi";
I my template I refer to the tag like this: {lederlogon}, but when I browse the page I keep getting this error:
"string(122) "Smarty error: [in template:22 line 106]: syntax error: unrecognized tag 'lederlogon' (Smarty_Compiler.class.php, line 590)"
Trying to solve the problem I have changed config.php to:
$config['use_smarty_php_tags'] = true;
but I still get the same error.
I really need to use the userdefined tags-feature, so I will be very glad indeed if someone can help me.
Best regards
Allmostblue
I cant get the userdefined tags to work properly. So I hope that some of you can help fixing the problem.
I have made a userdefined tag named "lederlogon". To be very simple it just contains this code: echo "hi";
I my template I refer to the tag like this: {lederlogon}, but when I browse the page I keep getting this error:
"string(122) "Smarty error: [in template:22 line 106]: syntax error: unrecognized tag 'lederlogon' (Smarty_Compiler.class.php, line 590)"
Trying to solve the problem I have changed config.php to:
$config['use_smarty_php_tags'] = true;
but I still get the same error.
I really need to use the userdefined tags-feature, so I will be very glad indeed if someone can help me.
Best regards
Allmostblue