Change the order of tabs on "Add an Item"

Hello all,
Does anyone know which file to edit to change the interface on the "add an item" form? I want to change the order of the tabs to the left to feature my custom element set first. Thanks in advance for any suggestions.

Jen Cwiok
American Museum of Natural History

Hi Jen,

This is a bit tricky to do, but not impossible. There is a filter you can use on that list of tabs called 'admin_items_form_tabs'. Here's a bit of code you can use to accomplish this. You should be able to add this function and filter to your element set plugin.

https://gist.github.com/883259

Basically, the idea is to take the existing array of tabs, remove your element set's tab, then prepend it back on to the array of tabs.

Best,
Jeremy

Hi Jeremy,

That totally worked. Thank you so much for the suggestion and the code!

Jen