Because it’s for a textbox, I’m not sure how the array is supposed to work.
This fails.
public function getDefault_dailymatches()
{
return array(
array('value' => 0, 'label' => Mage::helper()->__('First item')),
array('value' => 1, 'label' => Mage::helper()->__('Second item')),
array('value' => 2, 'label' => Mage::helper()->__('third item')),
// and so on...
);
}
This also fails.
public function getDefault_dailymatches()
{
$default = 100;
return $default;
}
I found the answer out myself by searching
Magento.zipfor the evident default textbox variables.Add this to
config.xmlinbetween the<config></config>tags.