Using Tabs in Admin view

Hello.

I am currently making a plugin for Omeka. I want to use tabs in a view in the Admin area (in the same way that the Edit Item view does) - how would I got about doing that?

I took some of the markup for the tabs themselves (ul, li) and wrapped the sections in my content with divs whose IDs match the href of each tab link.

The tabs themselves aren’t working - nothing changes as the hash defined in the href is appended to the URL.

What am I missing?

To use tabs on a page in the admin, you need to include the tabs javascript file and call Omeka.Tabs.initialize().

That’s JavaScript not PHP?

Yes, it’s Javascript.