[solved]If statement not functioning
Posted: Wed Mar 02, 2011 9:30 pm
I am a newbie to CMSMS but not to programming. I don't understanding why my if statement isn't working. I put the following code into a Global Content Block:
take control of your {menu_text}{if menu_text=='Home'}H!{/if}<strong>digital shelf space.</strong>
But I get the following on the page:
take control of your Homedigital shelf space
Why isn't the H! text displaying?
Thanks in advance for the help
take control of your {menu_text}{if menu_text=='Home'}H!{/if}<strong>digital shelf space.</strong>
But I get the following on the page:
take control of your Homedigital shelf space
Why isn't the H! text displaying?
Thanks in advance for the help