Add extra installations to customized WP installers script?

SDK Docs: http://installatron.com/developer/apps
SDK GUI Editor: http://installatron.com/editor
Rowan
Staff
Posts: 235
Joined: Tue Jun 19, 2007 7:39 am

Re: Add extra installations to customized WP installers script?

Post by Rowan » Sun Mar 08, 2009 1:27 am

I would have done the additional input like:

Code: Select all

    $o->setInputFields(array(
        array( "TYPE" => "header", "LABEL" => "Plugin Options" ),
        array(
            "ID" => "plugina",
            "LABEL" => "Plugin A",
            "TEXT" => "Plugin A",
            "TYPE" => "check",
        ),
        array(
            "ID" => "themea",
            "LABEL" => "Theme A",
            "TEXT" => "Theme A",
            "TYPE" => "check",
        ),
    ));


But what you have might work too.

The rest looks correct.

donnacha
Posts: 46
Joined: Thu Feb 12, 2009 2:35 am
Location: Edinburgh UK

Re: Add extra installations to customized WP installers script?

Post by donnacha » Sun Mar 08, 2009 9:24 am

Great, thank you, I will give it a shot!

Post Reply