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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Installing SilverStripe /

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

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

Install widgets


Go to End


1243 Views

Avatar
Roland

Community Member, 5 Posts

30 October 2009 at 11:23pm

Hi,
if i install widgets like this doko [url=http://doc.silverstripe.org/doku.php?id=widgets]http://doc.silverstripe.org/doku.php?id=widgets 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....