Page 1 of 1

Inserting tags in modules

Posted: Tue Mar 28, 2006 5:52 pm
by katon
I have tried to insert tags in the News and some other modules, and instead of calling the tag it only showed the tag call in the curly brackets. 
Is there a way to make it work?
If not, is it possible to implement this?

Re: Inserting tags in modules

Posted: Tue Mar 28, 2006 6:49 pm
by petert
yes there is a way, search for 'eval' in this forum.

Re: Inserting tags in modules

Posted: Tue Mar 28, 2006 7:34 pm
by katon
How about tags that have their own parameters?

Re: Inserting tags in modules

Posted: Tue Mar 28, 2006 7:41 pm
by petert
katon wrote: How about tags that have their own parameters?
what has that got to do with this problem?
did you search for the eval function and what will be possible if you use it inside content?

Re: Inserting tags in modules

Posted: Tue Mar 28, 2006 11:12 pm
by katon
Thanks, it helped.  In the new version of CMSMadeSimple, module templates must have {$theoldvariable} replaced with {eval var=$theoldvariable}.