Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Themes

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Navigation Tabs with class=selected


Reply

3 Posts   1475 Views

Avatar
ct2k7

28 September 2009 at 5:43am Community Member, 2 Posts

Hello, is it possible to set class=selected in navigation tabs using the $title information?

If so, how would I do it?

Thanks.

Avatar
zenmonkey

28 September 2009 at 6:04am Community Member, 528 Posts

Not sure exactly what your getting at but you can check agains navigation linking mode in templates

http://doc.silverstripe.org/doku.php?id=built-in-page-controls#links_and_classes

Avatar
ct2k7

1 October 2009 at 5:35am Community Member, 2 Posts

That's exactly what I needed thanks :)