Jump to:

4938 Posts in 16827 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Install widgets

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

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

Page: 1
Go to End
Author Topic: 954 Views
  • Roland
    Avatar
    Community Member
    5 Posts

    Install widgets Link to this post

    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....

    954 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.