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
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's probably all against the syntax rules of php and MODx.
Carpet Cleaning
thank you very much!
thanks for answering newbie questions!
jealousy<>love
You can also change the site_start system setting to the ID of another page, then that page will be the home page.
-
☆ 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.
MODx rox! And so do y’all.
jealousy<>love
-
☆ A M B ☆
- 894 Posts
You are using the wrong syntax, if it's a Context Setting it should be: