How to create Tabs in admin section

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
Aaron_H

How to create Tabs in admin section

Post 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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: How to create Tabs in admin section

Post 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
Aaron_H

Re: How to create Tabs in admin section

Post 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
Post Reply

Return to “Developers Discussion”