Re: setting varibles for content blocks
Posted: Tue Jun 12, 2012 6:21 pm
Check against alias
or use a content block to disable it, so GCB would be displayed unless something is entered in that block.
Code: Select all
{if $page_alias != 'alias-where-you-do-not-want-it'}
{global_content name='foo'}
{/if}
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}