Hi there,

Ajax Tabs works wonderfully, especially for those who know what they're doing. However, for most non-themers it is pain-staking task to find and override the html ID of the $tabs variable in their theme.

In line with that, I humbly request the possibility of being able to specify the HTML ID of the tabs-wrapper (which is currently #tabs-wrapper) thru Drupal interface.

Furthermore, we are able to:

  • switch themes easily and not worry about editing the page template file.
  • makes it more convenient to use and be supported by more Drupal themes
  • ensure compatibility across basethemes and subthemes
  • achieve the end-goal of usability and ease-of-use

I'm not quite sure how it will be implemented since I haven't read any of ajax_load's core functions, but I have a feeling it's a matter of pre-processing the output of the $tabs variable and being able to load/capture the html/javascript elements.

I hope this is not too overwhelming of a future feature request.

Cheers!

Marc Caballero

CommentFileSizeAuthor
#1 741362-ajax_tabs-6.x-0.1.patch10.52 KBsepla

Comments

sepla’s picture

Title: Ajax Tabs settings: Allow custom html ID for #tabs-wrapper via UI » Allow custom CSS Selector for #tabs-wrapper via UI
Status: Active » Needs review
StatusFileSize
new10.52 KB

I second this, and attached is a patch against 6.x-0.1 release which implements the feature plus other fixes.
Other improvements might be found here.