1 tilqicom Feb 23, 2011 12:59
3 tilqicom Feb 28, 2011 04:28
Afwas wrote:
Check out the test plugin. There's a decent example of a setting based on another setting.
thanks, i sure will.
Nice to see you here :D
4 sam2kb Mar 22, 2011 12:16
You have to use javascript for this. Ministats plugin does it perfectly (widget settings).
This should work too
function GetDefaultSettings( & $params )
{
$r[] = array( 'setting1' => array() );
if( $whatever )
{
$r[] = array( 'setting2' => array() );
}
return $r;
}
Check out the test plugin. There's a decent example of a setting based on another setting.