Page 1 of 1

Strip content and GCBs

Posted: Sat Mar 16, 2013 2:12 pm
by Joseph777
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)

Code: Select all

{strip} 
GCB content
{/strip} 
b)

Code: Select all

{strip} 
{global_content name='abc'}
{/strip} 

Re: Strip content and GCBs

Posted: Tue Apr 23, 2013 8:12 pm
by blackhawk
2), yup. I did for previous projects.

As far as 1) and 3),strip tags work great from within block sections, including your menu manager pages.