tabs module - theming tab link problem - missing <span class="tab">
mattez - August 7, 2008 - 17:17
| Project: | Javascript Tools |
| Version: | 6.x-1.0 |
| Component: | Tabs |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
hi... if you find you your tabs displaying wrong, with no background, no tab-right.png. It cause in this module is missing inner span in tab link. Drupal tabs use this inner span to format background. In modules\jstools\tabs is (line 140):
$output .= '<li'. drupal_attributes($element[$key]['#attributes']) .'><a href="#tabs-'. $element['#tabset_name'] .'-'. $element[$key]['#index'] .'">'. $element[$key]['#title'] .'</a></li>';and shut be:
$output .= '<li'. drupal_attributes($element[$key]['#attributes']) .'><a href="#tabs-'. $element['#tabset_name'] .'-'. $element[$key]['#index'] .'"><span class="tab">'. $element[$key]['#title'] .'</span></a></li>';After adding this tabs looks OK.. like other Drupal tabs.
Im not sure how to prepare fine patch..sorry.

#1
#2
That helped me with tabs module for drupal 6.0. Thank you.
#3
Fixed it for me on Drupal 6 as well