Why doesn't Smarty work in WYSIWYG fields?

Postdate: April 15 2012
Category: Created Modules
Applies to: all

If you for example, use cms_selflink in a Tiny editor window and it doesn't get processed and the output is garbled code. You need two words to solve this.


Don't just call your field like:

{$item->field} 

Use instead:

{eval var=$item->field}

This way you can call a gallery or use {cms_selflink page=about} and all Smarty is evaluated