Page 1 of 1

Problem with userdefined tags

Posted: Sun Dec 02, 2007 4:55 pm
by Allmostblue
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

Re: Problem with userdefined tags

Posted: Sun Dec 02, 2007 10:26 pm
by alby
Allmostblue wrote: I cant get the userdefined tags to work properly. So I hope that some of you can help fixing the problem.
You don't write your CMSMS version.
If you have 1.2.1 look this or upgrade to 1.2.2

Alby

Re: Problem with userdefined tags

Posted: Mon Dec 03, 2007 12:37 am
by Allmostblue
I have version 1.2.1. I followed the link that you listed ... and I got my problem solved ... sweet :-)