In Drupal 5, I've installed the latest Panels, Tab Panels and JS Tools. And then setup some tabs for a home page (www.lightingatwillowglen.com). I see that it's losing the order of the tabs. I set them in the order of:

Today's Pick, Hand Made, Exterior, Interior, Landscape. However the tabs came out alphabetically (Exterior, Hand Made, Today's Pick, Interior, Landscape).

When I change the type to embedded (instead of Tabs) the order is correct.

I could see this being fixed by either finding what's causing the alphabetical ordering, or adding a weight attribute to the items.

Comments

robloach’s picture

Priority: Normal » Critical

Panels doesn't implement #weight for the tabs, so the Tabs module assumed #weight is always 0, therefor putting the items in the incorrect order. More information, and a temporary fix, is available here. Please try it out and post in that issue.

This is an issue with JSTools Tabs that greatly effects Panels Tabs.

reg’s picture

The other page fix did work however it would have broken any routines that were relying on the '#weight' tag and/or the sort routine that was commented out. I've added a comment that works both ways here.

Thanks for the heads up on where the fix was. You probably saw I posted some other issues for this module. If you can give me a start on where the problems/solutions might lie I'll try and help on those too. My big problem right now is the ie6 problem. If you have any clues to that I would be most appreciative.

wim leers’s picture

I had no idea there was a #weight property available! Will be fixed soon.

wim leers’s picture

Title: Ordering of Tabs » Incorrect tab order
Assigned: Unassigned » wim leers
Status: Active » Fixed

Fixed. Thanks for posting the solution!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.