Problem with userdefined tags

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.
Locked
Allmostblue

Problem with userdefined tags

Post 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
alby

Re: Problem with userdefined tags

Post 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
Allmostblue

Re: Problem with userdefined tags

Post by Allmostblue »

I have version 1.2.1. I followed the link that you listed ... and I got my problem solved ... sweet :-)
Locked

Return to “CMSMS Core”