Tabs support ajax, is there someway to get them to load blocks?

Comments

Flying Drupalist’s picture

Or perhaps interestingly, regions?

nedjo’s picture

Though the jQuery UI library supports ajax loading, there is no support yet in the module. Patches welcome!

nk_’s picture

I made something similar, custom module for our needs. Though it's quite weak in code, buggy ... according to my limited knowledge.
It is based on ahah forms and in d5, loads views based on taxonomy/term with appropriate arg. At the moment I am starting with upgrade to d6 (lot-to-do) and hopefully I might improve code.
old version is here:
http://videomedeja.org/archive
If you like I will share my code but as I said it's not clear, not so good ...

nedjo’s picture

Title: Ajax Blocks in tabs? » Ajax loading of tabs
Status: Active » Closed (duplicate)

Actually rendering blocks via ajax calls is outside the scope of this module. Otherwise, this is is dupe of #249932: Dynamic/Remote (Ajax) Tabs.

zazinteractive’s picture

I am interested in this. Could contribute money towards it being completed

nedjo’s picture

Have you tried quicktabs, http://drupal.org/project/quicktabs ?

zazinteractive’s picture

I'm also using CCK fieldgroup tabs which relies on the Tabs module. Quicktabs does have this feature though. I guess I could implement it myself but I don't know where to start. I could use some guidance.

nedjo’s picture

Ajax rendering of just a specific part of a page is easy to implement, but hard to do correctly, particularly in Drupal 6. One approach is to provide a new menu callback used by the AJAX request. However, a very common error is to omit appropriate access control from this callback, exposing potentially sensitive data.

Can you consider working in Drupal 7? If so, have a look at http://drupal.org/project/field_group, which includes tabs support. I don't plan to add any new features to the Drupal 6 versions of Tabs or CCK Fieldgroup Tabs because they're not being continued for Drupal 7.

zazinteractive’s picture

Thanks for the help. I will look at my options