[support] Ajax Tabs in Drupal 6

KOBA | Hans Rossel hans.rossel at koba.be
Mon Mar 16 21:22:18 UTC 2009


Did you try http://drupal.org/project/quicktabs?<http://drupal.org/project/quicktabs>
Hans

2009/3/16 Fred Jones <fredthejonester at gmail.com>

> I have a custom module which I must upgrade from D5 to D6. In D5 I
> used the tabs module (part of the jstools module) and code like:
>
>  $form['example1']['tab2'] = array(
>    '#type' => 'tabpage',
>    '#title' => t('Audio'),
>    '#url' => base_path().'ajax/nodelist/audio',
>    '#target' => 'media_tab',
>  );
>
> and it magically makes this tab link load the content via Ajax. OK,
> someone else wrote this code, but anyhow it works. I tried to do the
> same thing with the D6 tabs module (now not part of jstools) but no
> Ajax happens. :(
>
> There is also the magictabs module, but AFAICT that module creates all
> the content for all the nodes when the page is called, as opposed to
> what I want, which is to only generate the content for each node when
> it's requested, via a callback.
>
> I could write some jQuery code to do this myself I suppose, but I was
> wondering if there's a module that does this or if I the tabs module
> can do this?
>
> Thanks
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



-- 
Hans Rossel
KOBA Webdevelopment
Kerkstraat 228
9050 Gent
09-334.52.60
0472-79.32.16
www.koba.be
info at koba.be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/support/attachments/20090316/17017466/attachment.htm>


More information about the support mailing list