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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Reusing content


Go to End


1149 Views

Avatar
Willr

Forum Moderator, 5523 Posts

22 April 2011 at 5:24pm

1. Can I reuse editorial content for different subdomains?

Yes you can using the subsites module. It provides a page type called 'Subsite Virtual Page' (or something similar) which allows you to share pages between subsites.

2. Can I keep the old site's forum for a while, by including our legacy PHP function

Sure, if you want to do it like you listed. Though you would do something to fit within the template engine but I would think your forum code may not play well with SilverStripe so you might have to install the forum into a subdirectory and tell SilverStripe to 'ignore' just that directory by using .htaccess rules

# ignores the 'forums' folder.
RewriteCond %{REQUEST_URI} !^/forums