Hey, I'm using this code to add a new setting to the ACP:
Works fine, but is there a way to set a default value? I want the default cache to be 10 minutes, but I'm not sure how.
Thanks
array(
'name' => 'resig_cache',
'title' => 'Cache Time',
'description' => 'la de da.',
'optionscode' => 'text',
'disporder' => 2,
'isdefault' => 1,
'gid' => $iId,
)
Works fine, but is there a way to set a default value? I want the default cache to be 10 minutes, but I'm not sure how.
Thanks