[SOLVED] :display content block if contains data

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
size
New Member
New Member
Posts: 9
Joined: Sat May 19, 2007 8:29 am

[SOLVED] :display content block if contains data

Post by size »

Hello,

say I make a template that has 9 different content blocks and I only want a block to show if content is present, is it possible?

would the code be something like this?

{if $  Huh}

{content block="Second Content Block"}

{/if}

just a very beginner here, thanks in advance
Last edited by size on Thu Dec 10, 2009 12:47 am, edited 1 time in total.
size
New Member
New Member
Posts: 9
Joined: Sat May 19, 2007 8:29 am

SOLVED :display content block if contains data

Post by size »

thanks, couldn't find that in any search.  
Last edited by size on Thu Dec 10, 2009 12:46 am, edited 1 time in total.
Post Reply

Return to “CMSMS Core”