We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37059
    • 368 Posts
    Quote from: Mark at Apr 26, 2011, 10:01 AM

    I often just change the site_start setting to a splash page - ie a page that says the site is under construction and offers some contact details.

    Why didn’t I think of that? tongue

    Dead-simple and more than sufficient. I love it.
      Jason
    • It’s easy to think too difficult with a system that makes somethings so darn simple, lol.

      If you really want the hard way you could possibly make a plugin onHandleRequest or something similar that checks if a $_GET[] param was passed, and redirect to the error (or a splash) page if not.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 37059
        • 368 Posts
        Today I discovered that, on my hosting at least, it is not necessary to use a start page inside MODx: http://example.com will default to a static index.html, if present, so... yay! I can just leave my pre-development "coming soon" file in the site root while the MODx site is rolled out, then remove it when I am ready to go live.

        Now the bad part embarrassed

        The "home" link in my Wayfinder menu still insists on pointing to http://example.com, and I can’t figure out how to change its mind. So I’m going to have to tell the client, "Oh, be sure not to click on the link that says ’home’ or you will end up back on the ’coming soon’ page...." Anybody know how to change that WF link so that it will point to http://example.com/home instead of http://example.com?
          Jason
        • Quote from: Mark at Apr 26, 2011, 10:01 AM

          I often just change the site_start setting to a splash page - ie a page that says the site is under construction and offers some contact details.

          And then I tell the client to go to site.com/home.html.

          When the site’s done, just change the site_start setting again.

          Make your start_page your in development page, and you also wont have this issue.
            Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

            Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
            • 37059
            • 368 Posts
            Quote from: Mark at May 20, 2011, 05:08 PM

            Make your start_page your in development page, and you also wont have this issue.

            You’re quite right, as I discovered on my own in the interim through much bumbling and stumbling. Shoulda stuck with what you suggested in the first place, instead of trying to take a shortcut sad
              Jason