I am in the process of upgrading an application from Drupal 5 to Drupal 6. Both versions use Aberdeen liquid. However the sub-tabs don't look the same. In fact the D6 sub-tabs aren't styled at all. See attached.
| Comment | File | Size | Author |
|---|---|---|---|
| aberdeen_d6.jpg | 16.17 KB | johnhanley | |
| aberdeen_d5.jpg | 16.18 KB | johnhanley |
Comments
Comment #1
ishmael-sanchez commentedOk I think that got in there because of #262787: Remove bullets from admin links . I'll check out the styling and update this issue.
Comment #2
johnhanley commentedWell presumably something got taken out of the D6 version because the sub-tabs in the D5 version are correct. (Compare above attachments.)
Thanks for the great theme!
Comment #3
johnhanley commentedI finally found time to properly debug this issue.
It turns out the culprit is line 53 in aberdeen/page.tpl.php, which is missing a ul tags with class "tabs secondary" around the output of $tabs2.
Before:
<?php if (isset($tabs2)): print $tabs2; endif; ?>After:
<?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>With this in place the secondary tabs in version D6 are themed just like version D5.
Note that in this case isset() should not be used because $tabs2 is always defined and will output empty ul tags (adding extra space between the primary tabs and content) even when empty.
Comment #4
ishmael-sanchez commentedHi Bacteria Man,
Thanks for this and sorry about the delay.
Comment #5
ishmael-sanchez commented