I have a lot a info to put on a widget so I'm trying to organize it with tabs, but I can't save the widget data using the tabset and tab object.
I dont have errors nothing.
It shows perfect strutured tabs on the CMS but it wont save any parameters on the CMS !!
Realy apreciate any help !!
class SWidget extends Widget{
function getCMSFields() {
$fields = new FieldList(
new TabSet(
$title='TabSetName',
new Tab(
$title='Config.',
new HeaderField('Conf header', 4),
new TextField('WidgetTitle', ' title', $this->WidgetTitle, 25)
)
)
);
return $fields;
}
}