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

Blog style layout - how to always keep 'modules' on right

Go to End


Decisive Flow

Community Member, 73 Posts

22 November 2006 at 11:23am

Edited: 22/11/2006 11:23am

We are trying to achieve a blog layout in: As you can see, there are 'modules' on the right. In Joomla, we can easily assign these to every page in a section (i.e. the blog).

So, I've created a $RightBlock but it only appears for that page and we want it to appears in every blog page including:
1) the frontpage which is of page type "BlogHolder"
2) all blog entries, of page type "BlogEntry"

I can't see a way to avoid duplicating the modules and I am hesitant to make them part of the template as the others really want to have simple editing ability int he backend.

How do you normally get around this?