Page 1 of 1

How to create Tabs in admin section

Posted: Fri Oct 10, 2008 12:15 pm
by Aaron_H
I have created a module, but need to have a few tabs like on the file manager, the tabs will select which page content file to include then, any help?

Thanks

Re: How to create Tabs in admin section

Posted: Fri Oct 10, 2008 12:41 pm
by Dee
Tabs in the admin section are simply done with dynamic html, each tab is a div and for the hidden tabs the style is set to display: none - the content for all tabs is all there, but only the selected tab is displayed.

The Skeleton module shows how to do this. Any other module that uses tabs in the admin could be used as an example too.

Grtz,
D

Re: How to create Tabs in admin section

Posted: Sat Oct 11, 2008 9:16 pm
by Aaron_H
Thanks for your help, sorted this now.

Each tab does the "include" function,

however on the include page i want to make it insert something into mysql from a form variable, however for some reason the mysql standard script does not work, just makes the tabs not function.

Is there some special way to do the mysql insert script?

HELP!

Thanks