Supress smarty content

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.
Post Reply
waltertakashi
Forum Members
Forum Members
Posts: 31
Joined: Tue Oct 06, 2015 7:55 pm

Supress smarty content

Post by waltertakashi »

Hi! I created a UDT which allows me to embed PDF files. When I use this UDT within the News module, it shows the code like this:

Code: Select all

{PDF link='blablabla'}
Is there any way to supress this kind of content?

Thank you!
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Supress smarty content

Post by velden »

Use eval if you know that the statement can be trusted (no user input).
Post Reply

Return to “CMSMS Core”