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
You need to modify the file templates/page.ss - 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,
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
It seems nothing the the module, but just tiny typo... :)
look at the error line: "<a copyright 2009 @ chilleze.net</a>"
the "a" tag typed wrong.
it should be something like: <a href="http://www.somewhere.com">copyright 2009 @ chilleze.net</a>
(replace the like with your own needs.
If you dont need the making a like, just remove it, leave it as "copyright 2009 @ chilleze.net"
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 :
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.
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.
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?
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 SideBar.ss , at the end of the file - just before the last div's end tag.
So the file should end with:
If it still not good enough you modify the css for the "sidebarBox" div (under the layout.css)