Before we go into system settings, we need to create a couple of resources. Resources are basically pages. It is not mandatory to create these pages but we should do so since we need to provide their ID when we set some system parameters. The immediate resources we need are:

  1. Error Page
  2. Site Unavailable Page
  3. Unauthorized Page

Currently, we have a single resource called Home under the Resources tab. We will use it as the base to create the resources that we need. Therefore, right-click on 'Home' and choose 'Duplicate Resource' from the resulting menu. Give it the name of 'Error Page' and Save. Repeat the procedure to create 'Site Unavailable Page' and also 'Unauthorized Page'. We now have pages with IDs of 1 to 4 but the new ones we've just created are italicized because we haven't published them yet. We will come back to them later on.

On the main menu, click on 'System' and then on 'System Settings'. There is a fair bit of settings but we will go directly to what we want by clicking on 'Filter by area' and choosing 'Site'. In here, we look for 'Error Page' under 'Name' and double-click its value to change it to '2' - the ID of the resource we created for the 'Error Page'. Similarly, we update respective value for 'Site Unavailable Page, and 'Unauthorized Page'. We then update the 'Site Name' to 'MyRevo', the name of our website.

Other Site Settings we should note include 'Default Template', 'Published Default' and 'Searchable Default'. The only template we currently have is the basic one that came with the installation. We will enhance this later for our purpose. The 'Published Default' is 'No' which is the reason for the three resources that we created earlier being displayed italicized. Now that we have provided their IDs, we will have to manually publish those pages otherwise the manager will throw a warning message when we login again. They are empty but we will still publish for now by simply right-clicking on each resource in the tree and selecting 'Publish Resource'.

We will be using Friendly URLs. We enable this in two places. First, we use the 'Filter by area' of System Settings to locate Friendly URLs. We then set the value of both 'Automatically generate alias' and 'Use Friendly URLs' to 'Yes'. For the second step, we must have set up friendly urls in Apache as explained in Modx Revolution Development with Wampserver - Part 01 - Installation of Wampserver, else we will get a server error when we try to access the Manager. We proceed by clicking on the 'Files' tab in Manager and right-click on ht.access to rename it to .htaccess. We then right-click on it again to Edit. Towards the beginning of the opened file, we amend 'Rewrite Base /' to 'Rewrite Base /myrevo' since we are housing our website in a subfolder. We save the file and open up System, System Settings again to continue.

When we 'Filter by area' for 'Rich-Text Editor' we may see that it is enabled by default but there is no editor installed at the moment. So, we'll head back to Modx.com, specifically to http://modx.com/extras/ to download TinyMCE text editor as well as a few other 'packages' listed in the next section, Modx Revolution Development - Part 04 - Packages.


Comments (0)



Add a new comment:

This thread has been closed from taking new comments.
  • twitter
  • linkedin
  • facebook
  • email
  • buzz
  • ping
  • stumbleupon
  • google
  • delicious
  • digg
  • newsvine
  • technorati
  • reddit
  • rss