Jump to content

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


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)

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More