Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Install widgets


Reply


985 Views

Avatar
Roland

Community Member, 5 Posts

30 October 2009 at 11:23pm

Hi,
if i install widgets like this doko [url=http://www.website.com/]http://doc.silverstripe.org/doku.php?id=widgets[/url] i get this error message: The website server has not been able to respond to your request.

The title shows GET /

I have used this code:

class Page extends SiteTree {
   
static $has_one = array(
   "Sidebar" => "WidgetArea",
);
   
function getCMSFields() {
   $fields = parent::getCMSFields();
   $fields->addFieldToTab("Root.Content.Widgets", new WidgetAreaEditor("Sidebar"));
   return $fields;
}   
}

What's the matter?

The blog-page is installed - the widgets are running....