Jump to content

Problem with simple php code


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...