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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Themes /

Discuss SilverStripe Themes.

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

Navigation Tabs with class=selected


Go to End


3 Posts   1992 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, 545 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 :)