Jump to:

23489 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Reusing content

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

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

Page: 1
Go to End
Author Topic: 667 Views
  • awi64
    Community Member
    1 Post

    Reusing content Link to this post

    Dear Silverstripe community,

    our company has a site consisting of several hundred sub pages, founded in 1997, built with custom PHP, maintained with Dreamweaver. In my opinion Silverstripe seems to be the perfect candidate for a due redesign. I have spent one day getting deeper into the topic, but I still couldn't figure out two things:

    1. Can I reuse editorial content for different subdomains?
    Mobile clients will be redirected to their own subdomain, with a different page hierarchy, unique templates, simplified styles etc. Some of the original editorial content shall appear 1:1 on the mobile site, while other articles will be skipped. Most important, when an editor works on a "main site" article, the article's mobile clone needs to be immediately updated, too, without having to edit two instances. Just the way the "Library" works in Adobe Dreamweaver. Is that feasible in Silverstripe without much coding effort?

    2. Can I keep the old site's forum for a while, by including our legacy PHP function
    print(forum_output ($forum_number))
    from within a Silverstripe page?

    Thank you very much for your assistance, I'm sure I might find out the answers myself, but unfortunately, there are three other candidates to be evaluated until Tuesday. And I hope Silverstripe will make it ;-)

    Greetings from Germany,

  • Willr
    Forum Moderator
    5508 Posts

    Re: Reusing content Link to this post

    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

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.