How to install new modules in SilverStripe

Review of the steps of installing a new module on your SilverStripe website

The installation of modules for your SilverStripe website is easy. We will review the steps for such an installation so you can complete it on your website.

 

Create a Backup

It is recommended to create SilverStripe backup, before making major changes on your website. This allows you to restore it to a fully operational state if something goes wrong.

 

The current tutorial will provide the steps for installing a new module on a SilverStripe website. The process is the same for any module installation so it does not matter which one you will choose. The installation process involves two basic steps.

 

Step 1 Download a module

The largest amount of SilverStripe modules can be found in the official SilverStripe addons directory. You can review for one that you want to use on your website and download it from there.

 

Once you download the module that you wish to install on your website, you need to extract it’s contents on your local computer. This will create a folder with the actual name of the module. However, if this name includes the version of the module as well, you will have to remove this part. Then simply upload the folder to the location of your SilverStripe installation on your hosting account. You can complete that via FTP or directly using the File Manager within your cPanel account.

 

Step 2 Install module

To install the module, you need to access the URL of your SilverStripe installation, followed by /dev/build/?flush=1. As we have installed SilverStripe in the public_html/ directory of our account and our domain is example.com, the actual URL that we need to access is example.com/dev/build/?flush=1. This will initiate the installation of the module and it will update your database accordingly. Upon completion, you will see the following message at the bottom of the page. 

 

SilverStripe module installation

 

The process is now completed and the module successfully installed on your SilverStripe website. To be able to use it, we suggest reviewing the official documentation provided by it’s developers.