I've been working on getting my layout working with CMSMS and it's been working out great until I discovered that the tabbed menu style I had done in my html draft of my website doesn't work the way I want it to when coded in CMSMS. Originally I'd been using each independent .html file to change the image source to change the navigation picture but now that it's a global template I'm not sure how to go about doing that.
I wrote some PHP that I thought could fix my problem but it seems to be ignoring the "if" condition and defaulting on the link and image I specified after "else":
Code: Select all
{if $pageURL == 'index.php?portfolio'}
<a href="#"><img src="Images/ikont1/template/Nav_portfolio.png" width="69" height="32" border="0" /></a>
{else}
<a href="index.php"><img src="Images/ikont1/template/Nav_Portfolio_Tab.png" width="69" height="32" border="0" /></a>
{/if}
and the CMSMS version here: www.eikonis.com/css/
Any help figuring this out will be greatly appreciated!
Thanks,
~Chris