Customising the Squore Configuration

Squore is fully customisable and allows you to override the default models and add your own ones. Your modifications to the default configuration should never be made directly in <SQUORE_HOME>/configuration, but in your own configuration folder which you will make Squore aware of by editing <SQUORE_HOME>/config.xml. This allows you to create only the files that are needed for your modifications and minimise the amout of files to add to version control.

In order to add a configuration folder for your modifications:

  1. Create a folder called MyConfiguration

  2. Create two subfolders folder called configuration and addons

  3. Edit Squore Server's <SQUORE_HOME>/config.xml to add MyConfiguration/configuration and MyConfiguration/addons as registered configuration and addons paths, as described in the Installation and Administration Guide in the section called Adding a Configuration Folder

  4. As a Squore administrator, log in and click Administration > Reload Configuration

Squore now knows that it needs to load the models that exist in your custom configuration as well as the ones in the default configuration folder. If you want to override a file in the default configuration folder, recreate the folder structure in your custom configuration folder, copy the file from the default configuration folder and make the necessary modifications. Because the custom configuration folder is listed first in <SQUORE_HOME>/config.xml, the file in the custom configuration folder will be used instead of the file in the default configuration folder.