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:

Widgets /

Discuss SilverStripe Widgets.

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

Widget in

Go to End



Community Member, 3 Posts

8 December 2014 at 4:40pm

I am wanting to including the lastest blog posts widget in my includes/ to display the lastest blogs posts there.

But for the life of me I can't get it to work.

I have:

Latest posts display in my sidebar on all my pages. Yey. Did something right.

But I only just want to display the latest blog posts widget in footer, not all the sidebar widgets.

Have tried $LatestPosts etc etc - to no avail.

Silverstripe version 3.1.5

I read the widget github page:

But the Rendering a widget individually puts my site in error once I put $SilverStripeFeed in my

I am not sure if that page is current or not as :

s directed in the definition of SilverStripeFeed(), the Widget will be rendered through the WidgetHolder template. This is pre-defined at framework/templates/ and simply consists of:

<div class="WidgetHolder">
You can override the and templates in your theme too by adding WidgetHolder and Widget templates to themes/myThemeName/templates/Includes/

I had to put those files in templates includes from widget - but still did not work :(

I very eagerly hope there is a very easy fix to my problem.