4575 Posts in 1387 Topics by 1377 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 806 Views |
-
Install widgets

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....
| 806 Views | ||
|
Page:
1
|
Go to Top |

