We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 35176
    • 193 Posts
    hi

    in Revo, what’s the quickest way to switch out my home page for a different page, so my domain points to the new page.

    reason, i want to display a temporary ’under-construction’ page.

    Want to do this for non-home pages too.

    THANK YOU!
      jealousy<>love
      • 11927
      • 105 Posts
      This is in the site settings.

      Go to "System" -> "System Settings"

      Click the "Filter by area..." drop down.

      Select "Site"


      You’re looking for "Site Status". Checking "Yes" will publish your site and "No" will unpublish your site.

      Also, to make a certain page appear when your site is unavailable, you look for "Site unavailable page". You put the id of the resource you want to appear when your "Site Status" is set to "No".
        You may or may not want to use the code I write. It&#39;s probably all against the syntax rules of php and MODx. smiley

        Carpet Cleaning
        • 35176
        • 193 Posts
        thank you very much!

        thanks for answering newbie questions!
          jealousy<>love
          • 3749
          • 24,544 Posts
          You can also change the site_start system setting to the ID of another page, then that page will be the home page.
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            The advantage to using the "site_status" setting set to offline is that logged-in Manager users will still see the site as usual, which is very useful for development.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 35176
              • 193 Posts
              MODx rox! And so do y’all.
                jealousy<>love
                • 43242
                • 12 Posts
                I have defined site_name value in the settings and I've checked it out in database - it's there! but template simply doesn't render anything for [[*site_name]]. I'm confused sad
                  • 3109 ☆ A M B ☆
                  • 894 Posts
                  You are using the wrong syntax, if it's a Context Setting it should be:

                  [[++site_name]]
                  
                    Benjamin Marte
                    Interactive Media Developer
                    Follow Me on Twitter | Visit my site | Learn MODX