I'm using CMSMS MLE v. 1.2.3 "Black Rock".
Every of my templates includes some {content} and {content block ...} tags. Above each of those tags there are some Global Content Blocks with text. Every template has different content block and global content blocks.
The problem is I don't know how to print this content depending on a template. Is it possible that the print template checks the name of the current template? For example somethin like:
Code: Select all
{title}<br/>{content}
{if template = 'Template A'}
<h1>{global_content name="TempA_Head1"}
{content block="TempA_Cont1"}
...
{/if}
{if template = 'Template B'}
<h1>{global_content name="TempB_Head1"}
{content block="TempB_Cont1"}
{/if}
I spent a lot of time on it and i'm still without solution. There were some topics on this forum related to mine, but any of them helped me.
Thank you in advance!