2012-08-01, 01:08 PM
I would like to make a Plugin Settings witch should just be a dropdown with selection options.
I know the default Yes/No plugin setting is like this, but how to a dropdown selection?
Yes/No Settings:
I know the default Yes/No plugin setting is like this, but how to a dropdown selection?
Yes/No Settings:
$motmplugin_setting = array(
'sid' => 'NULL',
'name' => 'enabled_yourplugin',
'title' => 'Do you want YourPlugin Enabled',
'description' => 'If Yes People Can Use YourPlugin, If No People Cannot Use YourPlugin.',
'optionscode' => 'yesno',
'value' => '1',
'disporder' => 1,
'gid' => intval($gid),
);