Gossamer Forum
Home : Products : Gossamer Links : Discussions :

What docs are avail

Quote Reply
What docs are avail
Where do I find docs on things like $mgr->install_options wrt checkboxes etc...

Gossamer Links Developers Guide
Plugins : Installer does not have much info there.

Many pages in this html "book" have blank pages.
Is something wrong with my docs?

Thanks
Chris
RGB World, Inc. - Software & Web Development.
rgbworld.com
Quote Reply
Re: [rgbworld] What docs are avail In reply to
Hi,

Nope, thats all there is :( Have you tried looking at how other plugins do it?

Basically, you have a few options;

$mgr->install_menu ( 'Plugin_Name', [ ['Call_Name', 'admin.cgi?do=page&page=plugin_manager.html&plugin_man_do=edit_installed&plugin_name=Plugin_Name'] ] );

$mgr->install_options ( 'Plugin_Name', [ ['Option_Name', 'default value', 'instructions', 'TEXT', [options,for,selects], [options,for,selects], '' ] ] );

Another way, is to let the Wizard do the work for you (in a test plugin), to see what is outputted. That way, you can see how the inline wizard generates the code, and learn from it Smile

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] What docs are avail In reply to
No worries, just making sure there isn't some ref I am missing before coming to this board.

As for looking at other examples, that works well, but when looking for something like a checkbox example, you have to download, install and edit or download, edit and read until you find that NOONE has a checkbox example :-)

Thanks
Chris
RGB World, Inc. - Software & Web Development.
rgbworld.com
Quote Reply
Re: [rgbworld] What docs are avail In reply to
Hi,

No worries.

Yeah, I've never managed to get checkboxes workig right (unless you do it via Database > Links > Properties). Thankfully, I've never really had a need for them (select/textarea/text normally works well for me).

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!