Hi Ayyurek,
I want to use this widget on silverstripe 3.0 with my custom theme, when i install the widget and write the code on my ContactPage.php, I got a fatal error
Fatal error: Class 'WidgetAreaEditor' not found in /home/luthra/public_html/en/mysite/code/ContactPage.php on line 9
My ContactPage.php is :
<?php
class ContactPage extends Page {
public static $has_one = array(
"Sidebar" => "WidgetArea"
);
public function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab("Root.WidgetArea", new WidgetAreaEditor("Sidebar"));
return $fields;
}
}
class ContactPage_Controller extends Page_Controller {
}
Please let me know how can i get this one in a perfect way.
Thanks is Advance.