Showing a Plone tab as selected
December 6th, 2005
I just added a "Podcasts" tab to ITauthor.com, but initially it wasn't displaying as selected. The <li> element should get class="selected" when it's selected, but it resolutely stayed class="plain" and so it didn't come to the front when clicked.
After a lot of digging I discovered the solution in:
http://plone.org/documentation/how-to/changing-tabs
The trick is that you have to make sure that the ID for the tab is the same value as the short name you give the page you are linking to.
Potentially similar posts
- Convert escaped Unicode to HTML entities – January 2012
- It’s got to be fun – May 2011
- Watch out for PHP shorthand – November 2010
- YOURLS: Your Own URL Shortener – October 2010
- Documentation the ScreenSteps way – June 2010