Hi all there.

Thanks in advance if anyone can help me.

I need to change the order in which the Tabs are laid out in my Drupal User Profile.

Now it is in |View|Edit|A|B|.....

I want it in |A|B|View|Edit|....

How to change this order in Drupal 5.8

Thanks.

Comments

vijaythummar’s picture

set weight of your tabs to -50, -49 and so on....

Thanks,
Vijay Thummar

nirenj’s picture

But where to set the weight. In which file.
I cant find any weight setting option in admin section of this Drupal 5.x.

Thanks for ur advice.

vijaythummar’s picture

From where you have created this menus... suppose you are using hook_menu then there will be one more parameter "#weight" in $items, where you can set the weight of your menus.

Thanks,
Vijay Thummar

nirenj’s picture

But this is a Panels, inside there is only an option to set 'menu as tab' and weight. but the weight does not have any effect.

Have u done this before on Panels?
Thanks.

vijaythummar’s picture

No I have not used for panels, But the weight should be work for menus. Please clear the cache and check it again else you have to do it by manually.

Thanks,
Vijay Thummar