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   1495 Views

Avatar
ct2k7

Community Member, 2 Posts

28 September 2009 at 5:43am

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

Community Member, 528 Posts

28 September 2009 at 6:04am

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

Community Member, 2 Posts

1 October 2009 at 5:35am

That's exactly what I needed thanks :)