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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Themes /

Discuss SilverStripe Themes.

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

Navigation Tabs with class=selected


Go to End


3 Posts   2353 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 :)