Tabs-Auto
Automated Tabs from node content.
This module will scan a node and split it into tab sections at each <H1> heading element using the heading title as the tab's title (can be set to split at other HTML/XML elements instead). Any text before the first heading element is encountered will be listed under a tab entitled "Intro".
Primary aims are
- To allow "dumb users" (no insult meant) to create tabbed node content without any extra tasks or commands being required - if they can select "Heading1" in the site's WYSIWYG editor or use <H1> in HTML then they can create tabs.
- To automatically split existing nodes into tabs without re-editing.
- Future: Split imbedded XML record sets into tabbed records.
Configuration Options
"Tab seperator element:"
To change the HTML or XML element used as a splitting point and to obtain the tab titles from. {Default = H1 }
"Default Tab title:"
The title to use for the initial tab when the document/node does not start with the defined tab-seperator. {Default = Intro }
"Include seperator:"
By default the defined tab-seperator (e.g. <h1>Section One</h1>) is converted into a titled tab and does not appear in the main content area. Enable this check box to also display the tab-seperator-element at the top of the tabbed page. { Default = Ommit }
Prerequisites
- JQuery Update module: Important - read it's readme.txt
JQuery UI
Notes:
Please let me know if this module works for you. Feature requests welcome.
Yes, a Drupal 6 release is planed within the next couple of weeks i.e. once I know that the 5.x version works.
