Page 2 of 2

Re: Add extra installations to customized WP installers script?

Posted: Sun Mar 08, 2009 1:27 am
by Rowan
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.

Re: Add extra installations to customized WP installers script?

Posted: Sun Mar 08, 2009 9:24 am
by donnacha
Great, thank you, I will give it a shot!