Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Default directory page

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1027 Views
  • KatB
    Avatar
    Community Member
    94 Posts

    Default directory page Link to this post

    ARgh! Panic!

    How do I point the server to a static page for the default directory page instead of the CMS?

    I am converting a static site and until I am ready to switch completely over, I am running the static site alongside. Unfortunately, now home is pointing to the CMS and NOT my original static page. How on earth do I get it back?

    Anyone, please, help??

  • SilverRay
    Avatar
    Community Member
    167 Posts

    Re: Default directory page Link to this post

    You could put the CMS in a subdirectory... so the static home page would be in www.yourserver.com and the cms could then live in www.yourserver.com/somedir

    Helps?

  • KatB
    Avatar
    Community Member
    94 Posts

    Re: Default directory page Link to this post

    HAHA!

    Just grab the static content from the original home page and shove that into the HomePage.ss template, removing any dynamic content references, and Bob's your uncle!

  • SilverRay
    Avatar
    Community Member
    167 Posts

    Re: Default directory page Link to this post

    Yeah, you wouldn't believe me perhaps, but this morning I just thought of posting your solution, but didn't get to it yet. Glad you've worked it out!

    1027 Views
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.