Closed (fixed)
Project:
Tabs (jQuery UI tabs)
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2008 at 02:59 UTC
Updated:
1 Sep 2009 at 16:20 UTC
hi. just downloaded and enabled, but i am quite clueless - i thought that this included a tab builder utility such that i could simply create a block or new page which would automatically produce the tabs, but it appears that all code must be produced and i am lost...
i remember seeing an interface for a module that had simple UI to build tabbed blocks and i thought that this was it! it was literally like 'put these two blocks together, tabs for each, default to this one showing first, etc)
are there any simple tutorials or walkthroughs for this? sample code that might be used to create a tabbed block and so on?
Comments
Comment #1
kenyan commentedGuys. Anybody want to pick up on this?
I also need a walkthrough.
Any help will be appreciated.
Comment #2
nedjoLook at the example module in the documentation folder for a sample implementation.
Tabs is designed to be used by other modules. Several have been written, but not all updated yet to 6.x. One that has is the CCK Fieldgroup Tabs module, http://drupal.org/project/cck_fieldgroup_tabs.
Comment #3
moshe weitzman commentedThere is an example in the README. Agreed that the docs are sparse though.
Comment #4
realOFF commentedBut... Where is the UI?
Comment #5
zilla commented@offgames - exactly - i wound up using the fieldgroups tabs module because it's exactly what i wanted, and using "quick tabs" module to create some other nifty content...
in fact, several modules already use tabs in this way but provide it as a one-click solution for you, so that's a route worth looking into if it still makes no sense (still seems easier to me to work with views slideshows, quick tabs, fieldgroups tabs and so on, and also views tabs though it's just rolling out now, this week)
Comment #6
flexvixon commentedBoth the CCK Fieldgroup Tabs and jQuery UI Tabs modules explicitly state that you need both to get the achieved effect. (As of this post, it seems that only CCK Fieldgroup Tabs is making use of the jQuery module).
There's a pretty clear guideline on the Fieldgroup tabs module page:
http://drupal.org/project/cck_fieldgroup_tabs
I was able to get this working on Drupal 6 in less than ten minutes from download.
Comment #7
Reviresco-1 commentedThere isn't a docs or documentation folder in the module I downloaded.
What does this module do? How do you use it?
Any straightforward, plain English help on this?
How do you add tabs to a block?
Comment #8
baronmunchowsen commented@realOFF, @Reviresco et al:
As @nedjo said above, this module . It comes in (very) handy if you are writing a module, or even want to incorporate some tab effects in your themeing. If you're looking for something off the shelf, plug-in and play, then this ain't it. There is no UI, though I can see how the name of the module might be confusing. Installing the module and allows you to incorporate tabs into your code, using the form api.
If you're looking for the 'docs' directory, which has the example code (tabsexample.module), then you'll need to download the 6.x-1.x-dev version (at the time of writing). It's not included in the 6.x-1.0 release.
Hope this is helpful. Cheers.
Comment #9
nedjo@baronmunchowsen: thanks for the clear explanation. I've updated the project page to make it clearer that this is an API module.
Comment #10
nedjo