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

need help w blog widgets

Go to End

3 Posts   1575 Views


Community Member, 6 Posts

25 March 2008 at 4:54am

hi smart ppl,

i'm a total newbie w ss, and w programming... but determined to figure out what i need to in order to get this stuff working. My blog widgets are showing up in my secondary navigation, which would likely be fine if i was using the standard SS template, but since i'm not, it really doesn't work! the prob is that i'm not sure which file controls the placement of blog widgets, or how, exactly, the placement is controlled... can someone point me in the right direction?

the site i'm in the midst of converting to work w SS is:

thanks for your help!!


Grayzag (aka ajshort)

29 Posts

25 March 2008 at 8:50am

Hi there -

the individual template files that control the rendering of widgets are sapphire/templates/ and sapphire/templates/

If you wanted to customise it instead of using the defaults just put code like this in your templates:

<div id="Widgets">
    <% control Widgets %>
        <div class="myCustomWidgetArea">
            <p class="widgetTitle">$Title</p>
    <% end_control %>


Community Member, 1 Post

27 April 2008 at 12:28am


I have just copy and pasted the bit about "<% control Widgets %?>" - but it does not work. Can you put this in <template>/template/