[SOLVED] {content} tags specific to a page.
Posted: Thu Oct 25, 2012 2:12 pm
This might not be the correct forum but it looks like the best match.
There might be a better way of doing this - though I can't think of it and I can't find a post describing the same question.
I regularly use addition content tags for various reasons. One example is this:
Where the heading might have particular classes on it or structure to it and I'd rather not have the client try to figure all that out.
Is there a way to make a {content} block appear only on a specific page? I know I can show or hide the actual {$heading} variable, but the content block itself still appears when editing that page, even if the whole block is inside an {if} statement such as {if $page_alias != 'home'}.
Or, is there a better way to do this?
The same applies when using both the core content tag and the slight variation that AdvancedContent introduced, both using the latest version of CMSMS.
It's not critical but at the moment I have to either explain it or describe it in the box labels.
There might be a better way of doing this - though I can't think of it and I can't find a post describing the same question.
I regularly use addition content tags for various reasons. One example is this:
Code: Select all
{content block='heading' assign='heading' wysiwyg='false' default='' label='Page Heading - This is the subtitle of the page, in blue' oneline='true'}
Is there a way to make a {content} block appear only on a specific page? I know I can show or hide the actual {$heading} variable, but the content block itself still appears when editing that page, even if the whole block is inside an {if} statement such as {if $page_alias != 'home'}.
Or, is there a better way to do this?
The same applies when using both the core content tag and the slight variation that AdvancedContent introduced, both using the latest version of CMSMS.
It's not critical but at the moment I have to either explain it or describe it in the box labels.