Re: News module - how prevent {news} tag being deleted/edite
Posted: Fri Aug 24, 2012 10:57 am
You can try a few things to see what works best for you.
1) Rry placing it into a snippet using the Snippets module and then place the snippet tag in your template instead of the {News} tag.
2) Use this as the first line in your template before everything else:
{capture assign='NewsContent'}{News}{/capture}
and then place, {$NewsContent} where you want the {News} tag in your template
3) If you have to have it inside of page content, surround it with Smarty comments to warn editors:
{* *** Do Not Remove *** *}{News}{* *** Do Not Remove *** *}
1) Rry placing it into a snippet using the Snippets module and then place the snippet tag in your template instead of the {News} tag.
2) Use this as the first line in your template before everything else:
{capture assign='NewsContent'}{News}{/capture}
and then place, {$NewsContent} where you want the {News} tag in your template
3) If you have to have it inside of page content, surround it with Smarty comments to warn editors:
{* *** Do Not Remove *** *}{News}{* *** Do Not Remove *** *}