What determines the tab order?

Comments

cpelham’s picture

To clarify, the reason I ask is that the order that my tabs display horizontally to users does not correspond to the order that I have added/arranged my rows of mini panels within my mini panel container.

wim leers’s picture

Category: support » bug

This is an issue of the Tab module. Tabs Panel Style doesn't alter the order, it's the Tabs module that does. I have commit access there, so when I have time, I'll solve it. Patches are welcome, of course ;) That'd be faster, too.

wim leers’s picture

Title: tab order » Tab order
Project: Panels Tabs » Javascript Tools
Version: 5.x-1.0 » 5.x-1.x-dev
Component: Code » Tabs
smoothify’s picture

i was running into this problem to - after having a quick look at tabs.module the line that causes it is line 77

 // Sort the elements by weight.
  uasort($element, "_element_sort");

just commenting out the line works for me but then i'm not using it for anything else than panels_tabs, so i don't need the ability to set weights explicitly which i imagine it's meant to allow.

anyone know this area better and able to change this line?

Thanks

Ben

robloach’s picture

I've encountered this issue. Subscribing.

nedjo’s picture

Status: Active » Closed (duplicate)

I've reopened an older issue with relevant information, http://drupal.org/node/180539, so marking this one a duplicate. Help or ideas in that issue would be appreciated.