1
Here's the code:
<ul>
<li><a <{if $xoops_dirname eq "mastop_publish"}>class="active"<{/if}> href="<{$xoops_url}>/modules/mastop_publish"><span>Featuresspan>a>li>
<li><a <{if $xoops_dirname eq "mastop_publish"}>class="active"<{/if}> href="<{$xoops_url}>/modules/mastop_publish"><span>Demospan>a>li>
ul>
If the class is active, only the menu bar button should light up for the selection. However, that's not what's happening above because the class is active for more than one choice. When you click on either the "Features" button or "Demo" button, both menu buttons become active and light up because "$xoops_dirname eq mastop_publishing" is the same for both!
I tried adding "&& $xoops_pagetitle=="Features"" to the code to distinguish between the buttons, but that did not work.
Any suggestions would be appreciated!