The "Lagom 2" product launched new features that required changes in the Lagom WHMCS Client Theme code as well as its file structure. As a result, the Lagom 2 versions will be available in the “RS Themes” addon as a brand new theme called “Lagom 2”. All modifications implemented to the Lagom 1.x version need to be manually migrated to the “Lagom 2” product.
This article has been prepared for customers who already use the Lagom 1.x version on their WHMCS installations.
This step is optional - Addon file structure has changed in Lagom 2, so removing these files will keep your environment clean from not needed files.
/modules/addons/
directory.RSThemes
folder and remove all files except below folders:
/modules/addons/RSThemes/views/adminarea/extensions
/modules/addons/RSThemes/src/Extensions
The “Lagom 2” files will be installed in a separate folder which means that the Lagom 1.x files will not be overwritten by the following steps.
Lagom files can NOT be uploaded using ROOT owner, as files and folders uploaded using root can not be overwritten by RS Themes addon. This will cause issues during activation of the Lagom Color Schemes.
.zip
folder with latest Lagom version that has been downloaded in previous steps./php71+/
folder, to main WHMCS directory on your server./templates/lagom2/core/styles/
has write
privileges.It's important to perform an update of below Lagom extensions (if you use them with Lagom 1.x version):
Before you disable "Maintenance" mode you need to test if installation of Lagom 2 has been performed correctly.
If update process corrupted your Lagom 1.x theme, then immediately restore your server from previously created backup and contact our team.
The “Lagom 2” product has been installed as a new theme, so it is necessary to migrate all modifications implemented in “Lagom 1” manually by following these steps:
/templates/lagom/core/hooks/
folder.theme-custom.css
file to your Lagom Style.If you are sure that the configuration and migration processes have been completed and you have also tested all theme pages, you can activate it for all your customers by following these steps.