Tab Order on Edit Album Page

maria1971

Joined: 2008-01-14
Posts: 5
Posted: Thu, 2008-01-31 19:26

Hi!

I have four tabs on the Edit Album page: General, Album, Theme, Custom Fields. Is there any way to change the order of these tabs? Specifically, to: General, Custom Fields, Album, Theme.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2008-02-02 18:55

How comfortable are you editing the database with phpMyAdmin?
Backup the db.

Login to phpMyadmin
on the left select the FactoryMap table.
select the g_orderWeight field checkbox.
Click the brows tab.
sort the column 'g_classType'
at the bottom or the top change the rows to 300 and start at 0 click 'show'
scroll down till you see: ItemEditPlugin and the CustomFieldItemEdit g_className
click edit
change the value of the g_orderWeight from 5 to a 2.
click 'go'

clear the db cache via site admin-> Maintenance : Delete database cache

follow the above steps to reorder other tabs.

This can be used to reorder the items in siteadmin -> Maintenance section as well, just edit the MaintenanceTask g_classType

If there is more interest in this I will create a codex page with some screen shots.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team