Page 1 of 1

Re: setting varibles for content blocks

Posted: Tue Jun 12, 2012 6:21 pm
by uniqu3
Check against alias

Code: Select all

{if $page_alias != 'alias-where-you-do-not-want-it'}
  {global_content name='foo'}
{/if}
or use a content block to disable it, so GCB would be displayed unless something is entered in that block.

Code: Select all

{content block='disable_gcb' label='Disable GCB' assign='no_gcb' oneline='true' size='10'}
{if empty($no_gcb)}
  {global_content name='foo'}
{/if}
 

Re: setting varibles for content blocks

Posted: Tue Jun 12, 2012 6:25 pm
by mcDavid
Use an other template for that one page.