Roundcube Community Forum

 

Help making plugin

Started by giglio, April 23, 2012, 01:23:01 PM

Previous topic - Next topic

giglio

Hi all,
i am developing a plugin (that is shown in settings) and i would like to make it graphically similar to the Preferences tab, with a menu column, the splitter and a frame box.
I tried to adapt the preferences code in roundcube\program\steps\settings\func.inc into my plugin php page, and i can see correctly the web page subdivision.
But what is missing are my test sections titles (as in preferences: $sections['general'], mailbox, compose, mailview, etc...). They don't appear and so i can't click on them to show their content in the box on the right.
Probably i messed up something in the code, so my question is: do you have an example code to use for the correct subdivision and settings of sections?

Thank you a lot!