Jump to content

Link in TPL with condition (if ID is...)


R.Shredder

Recommended Posts

Hello there.


I'm trying to set a link in my megamenu according a specific id  (in PS 1.7) :

something like {if $link->div.id="pt_menu3"}<a href="page.php">{/if} but i can't figure the exact syntax. I need to check if the div id containing my link is pt_menu3...

Any help would be nice ! :)

Edited by R.Shredder
More infos ! (see edit history)
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...