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.


Discuss SilverStripe Widgets.

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

How to add widget on frontpage


18 Posts   9144 Views


12 December 2009 at 8:10am Community Member, 5 Posts

@ Roterl
i'm new to silverstripe and I using the earthling theme. I installed the widges manager plugin.
When i add widges to page/pages i dont see them on the page after save and publish.
Where do i go wrong? Any help is much appreceated.
BTW the widges managers plugin is great


12 December 2009 at 12:09pm Community Member, 44 Posts

hi Chilleze,
You need to modify the file templates/ - replace the $Sidebar with $SidebarWidgets.
Also, make sure to select the managing type to "managed" and the widgets you set on the pull-down.

thanks for the feedback,



13 December 2009 at 2:08pm Community Member, 5 Posts

Hi Roterl,
thanks for your help, but i must have done something wrong, i did changed line in templates/ss from $SideBar to $SidebarWidgets and i get now an error:

XML Parsing Error: not well-formed
Line Number 53, Column 15:

any help be much appreciated



13 December 2009 at 5:38pm Community Member, 44 Posts

It seems nothing the the module, but just tiny typo... :)
look at the error line: "<a copyright 2009 @</a>"
the "a" tag typed wrong.
it should be something like: <a href="">copyright 2009 @</a>
(replace the like with your own needs.
If you dont need the making a like, just remove it, leave it as "copyright 2009 @"



13 December 2009 at 7:42pm (Last edited: 13 December 2009 8:00pm), Community Member, 5 Posts

you are a legend, thanks very much for your help, removing the typo helped :O) .
Once again, thanks very much and great work with the widget manager.

Just another little problem, just did a flush and now my site comes up with :

Not Found
The requested URL /sapphire/main.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Any thoughts?



13 December 2009 at 11:29pm Community Member, 44 Posts

I'm glad you find the module useful... :)

I don't have any good idea about that, but I think it better you open new thread for this, as someone who dont interesting on this topic may read help you.
Also, if you can post logs or other more informative details it will be easier to help you.



27 February 2010 at 4:28am Community Member, 98 Posts

Hi roterl,
I installed your widget manager, and it's very nice. I have a question though - I'm using Nouveau template, and when I go to add more than one widget (rss feed, specifically) to a page, there is quite a vertical space between them. Is there a way to close up the space so they are vertically closer to each other?


28 February 2010 at 5:51am Community Member, 44 Posts


Usually the best place to put the "$SidebarWidgets" is inside the same div as the sidebar. Specifically for the Nouveau template I think it should be inside the , at the end of the file - just before the last div's end tag.
So the file should end with:

      <div class="clear"></div>

If it still not good enough you modify the css for the "sidebarBox" div (under the layout.css)