By John Bryan on
To avoid re-inventing the wheel... am I missing something?
I have had a look at the info for "Magic Tabs" and "Javascript Tools:Tabs" (aka "JQuery UI Tabs") etc. and can't see anything that simple converts node content into tabs e.g. by splitting at each <H1>title</H1>.
The content of the nodes will either be populated by imported data or by dumb-users so it needs to be an automated process of splitting pages. Is there such a user transparent tab creating module out there?
Note: I am restricted to Drupal 5.x modules due to other modules in use.
Comments
i use
i use http://drupal.org/project/quicktabs and it works great.
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
Cool
That is a very useful module. Thanks for the info!
__________
Eric Aitala - f1m@f1m.com
The Formula 1 Modeling Website
www.f1m.com
__________
Eric Aitala - ema13@psu.edu
Penn State
224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485
welcome ;-) === "Give a man
welcome ;-)
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
Can't see how this would apply?
First of all thanks for responding 8¬)
From a quick install and look I can't see how to automatically split a node's content into tabs using this? You have to define the tabs before-hand and define different block/view sources to populate them from instead of sections of content from a single node. I am looking to create tabs based on the content of a single node where the number of, and titles of, the tabs are defined by the actual content e.g.:-
Node "Body" content
Rendered tabulation
I.e. Similar to how other modules build page content indexes but creating tabs instead of a bullet list based on heading titles (or some other seperator in the content).
Regards
John Bryan
www.ALT2.com
Application Integration Specialists
Tel: UK 08700 3456-31
Starting to get somewhere
I am starting to get somewhere with JQuery Tabs.
Will post an update when I have the mechanism fleshed out a bit.
Regards
John Bryan
www.ALT2.com
Application Integration Specialists
Tel: UK 08700 3456-31
Comming soon - Tabs-Auto module
I am hoping to release an alpha of "Tabs Auto" module in the next view days.
This is an 'input filter' based partly on the TableOfContents module that when active creates a tab for each H1 header in the node document. i.e. the aim is that to use this will require no configuration, no customising of node templates and no entering of custom tags or classes within the node content - just use normal headings in the node and the tabs will be created.
Once I have wrapped my head around Drupal's CVS setup and got a working module then I will add options to define what HTML tag to split the nodes at e.g. <H2> instead of <H1> or a custom tag such as XML tag in pasted data.
Regards
John Bryan
www.ALT2.com
Application Integration Specialists
Tel: UK 08700 3456-31
for reference, the module
for reference, the module that John Bryan created, http://drupal.org/project/tabsauto
Apologies as to frozen state of development
I found CVS setup and usage more difficult than the programming. Documentation on CVS usage for Drupal did not seem to help me much at the time. What should be a simple part of the process proved to be a detterent to contributing to Drupal.
If I get free time I will try and revive this project now that I have had a reminder. But it won't be for while.