Slieptsov Posted August 22, 2011 Share Posted August 22, 2011 Hello! I want to give "selected" css class with a green color to block cms links. At blockcategories we can see this code: {if isset($currentCategoryId) && ($node.id == $currentCategoryId)}class="selected"{/if} But when I use it to block cms like this: {if isset($currentCmsId) && ($cmslink.id == $currentCmsId)}class="selected"{/if} but nothing heppened. What I do wrong? Link to comment Share on other sites More sharing options...
liquidesnake Posted August 24, 2011 Share Posted August 24, 2011 {if isset($currentCmsId) && ($cmslink.id == $currentCmsId)}class="selected"{/if} it's not meant to be placed in the block cms..wrong coding. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now