using {'s in 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.
Locked
british.assassin

using {'s in content

Post by british.assassin »

Hi

I need to be able to put a { in the content of my page, but when the page loads, i get a smarty error saying that it is an unrecognised tag.  Is there a way around this?

Thanks

british.assassin
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: using {'s in content

Post by Dr.CSS »

You will have to use {literal} { {/literal} those curly brackets are used in smarty to denote actions/tags...
british.assassin

Re: using {'s in content

Post by british.assassin »

thanks for the fast reply!
cyberman

Re: using {'s in content

Post by cyberman »

You can use {ldelim} too :) - output is the same ...
Locked

Return to “CMSMS Core”