|
|
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:
Create a folder called MyConfiguration
Create two subfolders folder called configuration
and addons
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
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.