Hi,
I am trying get getting Widgets running but I am running in a couple of problems. I downloaded the children widget form the download section and copied the extracted folder in my root silverstripe folder. Then is rebuild the database. After that i added this to my NewsHolder.
static $has_one = array(
"SideBar" => "WidgetArea"
);
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab("Root.Content.Widgets", new WidgetAreaEditor("Sidebar"));
return $fields;
}
After that I got a new tab in the admin page as expected. So far as good but when I want to add the children widget to my holder ist fires 2 http requests right after another.
1. http://mmm.nz/Widget_Controller/EditableSegment/ChildrensWidget
2 http://mmm.nz/Widget_Controller/EditableSegment/NoWidget
If i press on publish nothing will be displayed after a refresh. :( this is really disapointing :(
Best regards an I hope somebody can help me.