Closed (fixed)
Project:
Panels Tabs
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
31 Oct 2007 at 07:12 UTC
Updated:
28 Nov 2007 at 20:33 UTC
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
Comment #1
robloachPanels 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.
Comment #2
reg commentedThe 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.
Comment #3
wim leersI had no idea there was a #weight property available! Will be fixed soon.
Comment #4
wim leersFixed. Thanks for posting the solution!
Comment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.