Jump to:

794 Posts in 409 Topics by 304 members


SilverStripe Forums » Widgets » Login wdget not shown

Discuss SilverStripe Widgets.

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

Page: 1
Go to End
Author Topic: 439 Views
  • Chipie
    Community Member
    16 Posts

    Login wdget not shown Link to this post

    Hi all, I am new to silverstripe and have been trying to install the login widget using the widget installation tutorial.
    So far i can see my sidebar, I have a widget tab in the cms, I can drag the widget over to the right column and refresh and I have succesfully ran dev/build but cannot see the actual widget.

    I have added code to the following files:
    class Page extends SiteTree {

       public static $db = array(

       public static $has_one = array(
       "SideBar" => "WidgetArea",

    function getCMSFields() {
    $fields = parent::getCMSFields();
    $fields->addFieldToTab("Root.Content.Widgets", new WidgetAreaEditor("SideBar"));
    return $fields;


    <div id="sidebar">

    When i view the page source my div is shown but its empty.

    Has anyone had the same problem?



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.