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

common content on multiple pages (managed through CMS)

Go to End

2 Posts   1520 Views


Community Member, 15 Posts

13 August 2008 at 7:41am


This feels like a newbie question, but I can't find the answer...

For example, I have content xyz that I would like to include on two different pages. I'd like to manage xyz through Silverstripe (not in a .ss file) and have the ability to use xyz on the two different pages. Know what I mean? Example: I have paragraph of content that I'd like to edit via WYSIWYG editor. This paragraph should be included on many pages.

It seems as if Silverstripe doesn't have this capability? The only option I have is to create a Page with the common xyz content hardcoded and then extend that page in subclasses.

Hopefully, I'm making sense.

Thoughts? Suggestions?


Forum Moderator, 5523 Posts

13 August 2008 at 1:49pm

SilverStripe currently does not have a good setup for global options such as a paragraph. You could use dio5's new site setting module - and give that a roll. Or what we normally do is setup a HomePage.php which has fields for static content eg. Then in the Page template we control the fields on the Homepage

<% control Page(home) %>
<% end_control %>