I have a menu for which all links open a Lightbox. I would like to set up the default rel attribute for this menu, so all items added to this particular menu will function without the client having to enter the lightbox-specific rel each time.

Is there a way to set up this default using this module, without setting this as the default for all menus? Should I be using template.php instead? If that's the case, can someone point me in the right direction?

Comments

renenee’s picture

Hello, Sorry if I'm bumping too soon, but I wonder if I'm just missing something here, or if there is a fix with template.php. Thank you!

amateescu’s picture

Status: Active » Fixed

The module does not currently offer this functionality (setting defaults only for specific menus), so your best bet is doing it in template.php, by overriding theme_menu_link.

renenee’s picture

Status: Fixed » Closed (fixed)

That's exactly what I was looking for. Thank you so much!