Strip content and GCBs
Posted: Sat Mar 16, 2013 2:12 pm
Hello
I want compress html code with strip tag and i have few questions:
1. Is it correct to compress content with this code?: {content|strip}
2. Can I use strip in Menu generator too?
3. Must I use strip in every Global content block or I can only put strip on top and bottom of template?
4. Which code do i have to use?
a)
b)
I want compress html code with strip tag and i have few questions:
1. Is it correct to compress content with this code?: {content|strip}
2. Can I use strip in Menu generator too?
3. Must I use strip in every Global content block or I can only put strip on top and bottom of template?
4. Which code do i have to use?
a)
Code: Select all
{strip}
GCB content
{/strip}
Code: Select all
{strip}
{global_content name='abc'}
{/strip}