17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1182 Views |
-
common content on multiple pages (managed through CMS)

13 August 2008 at 7:41am
Hi,
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?
-
Re: common content on multiple pages (managed through CMS)

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 -http://www.silverstripe.com/extending-hacking-silverstripe-forum/flat/110554?start=8#post116547 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) %>
$CustomField
<% end_control %>
| 1182 Views | ||
|
Page:
1
|
Go to Top |


