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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

how to wrap a widget in a

Go to End

3 Posts   1712 Views


Community Member, 89 Posts

16 November 2008 at 11:01pm


could you explain me how do i wrap a widget in a

as for now, i have a

<div id="Sidebar" class="typography">
	<img id="borderSidebar_tl" src="$ThemeDir/images/border_bl.png" alt="border" width="2" height="341" />
<br class="clear"/>

and ss just loads the widgets into the sidebar.

thanks a lot...


Community Member, 400 Posts

17 November 2008 at 7:26am


Community Member, 89 Posts

17 November 2008 at 10:41am

yeah, i read this tut, but its not what i need. when you follow this tut, all your widgets will be placed inside div #Sidebar. what i want is that around each widget is a div #sidebarBox - witch is inside #Sidebar...

something like this:

<div id="Sidebar" class="typography">
	<% control Sidebar %>
	<% end_control %>
<div class="clear"></div>