Hi

I'm struggling a little to setup an ini file the way I want.

I want to specify some decorators and just can't seem to do it so I ended up grabbing the element and modifying it like this :

$buttonDecorators = array('ViewHelper', array(array('data' => 'HtmlTag'), array('tag' => 'td', 'class' => 'xxxx')), array(array('label' => 'HtmlTag'), array('tag' => 'div', 'placement' => 'prepend')), array(array('row' => 'HtmlTag'),
        array('tag' => 'div')), );
$deleteButton = $subform[$counter]->getElement('delete');
$deleteButton->setDecorators($buttonDecorators);

which works fine but it's horrible :( can anyone enlighten me how to do this in the ini file?

Ian Spare
Email     :    [email protected],
Website :    http://snowslider.net




Reply via email to