Rabatkoder Posted November 25, 2011 Share Posted November 25, 2011 Hello guys, i'm not so good at php so i hope for some help :-) I want to make jbx menu give a specific class if the $link function = frontpage How can i do this? This is the code: {if $link = base dir }class="sfHoverForce"{/if} Should i define something in the php file or can i use $base_dir or something? Link to comment Share on other sites More sharing options...
tomerg3 Posted November 26, 2011 Share Posted November 26, 2011 Do you mean if you're on the homepage (all links), or only for the link to "Home"? 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