Hello,
I would like to be able to use some {udt} in my wysiwyg editor in LISE module. When I put {udt} directly in the template it is working good, but I need to have opportunity to use it anywhere - that's why I use it in edior. For example:
my_udt: echo 'This is What I Want';
Now on my page I have:
txt paragraph
{my_udt}
txt paragraph
As a result I would get:
txt paragraph
This is What I Want
txt paragraph
Can anyone help me?
LISE - use {udt} tag in editor
Re: LISE - use {udt} tag in editor
You will need to eval your field. (check Smarty website for eval).
Re: LISE - use {udt} tag in editor
Thanks ~Velden, this is what I was looking for!
For all those who also sought answers below is solution:
Change this:
{$item->fielddefs.FIELD_ALIAS.value}
Into this:
{eval var=$item->fielddefs.FIELD_ALIAS.value}
And that's it!
Best regards
For all those who also sought answers below is solution:
Change this:
{$item->fielddefs.FIELD_ALIAS.value}
Into this:
{eval var=$item->fielddefs.FIELD_ALIAS.value}
And that's it!
Best regards