Sites Framework Installation
The Sites Framework can be installed with or without localization, for language translation support. It can also be installed from the Command Line Interface (CLI) or User Interface (UI).
The Sites Framework depends on the Forms Framework, so that must be installed first and is included in the instructions below.
Option A: Without Localization
CLI - Install from the Command Line Interface
If you have access to the command line interface (CLI), it is easiest to install the Forms Framework and Sites Framework from the CLI.
php /var/www/webcomand/comand.php io_comand_package add -p com_comandsolutions_app_forms
php /var/www/webcomand/comand.php io_comand_package add -p com_webcomand_sites
php /var/www/webcomand/comand.php io_comand_io import -s file:///var/www/webcomand/files/packages/com_webcomand_sites/install/sites-content.js
php /var/www/webcomand/comand.php io_comand_io import -s file:///var/www/webcomand/files/packages/com_webcomand_sites/install/sites.js
UI - Install from the User Interface
If you do not have access to the CLI, you can import two webCOMAND Sites Packages from the User Interface (UI) to utilize the Sites Framework.
- Launch "Content Manager (CMS)"
- Import Sites Content
- Click Import in collection toolbar on right.
- Click "From URL" and enter:
https://www.webcomand.com/packages/com_webcomand_sites/install/sites-content.js
(or /var/www/webcomand/files/packages/com_webcomand_sites/install/sites-content.js) - Click Next and then Import
- Import Sites Pages & Components
- Click Import in collection toolbar on right.
- Click "From URL" and enter:
https://www.webcomand.com/packages/com_webcomand_sites/install/sites.js
(or /var/www/webcomand/files/packages/com_webcomand_sites/install/sites.js) - Click Next and then Import (takes ~30 seconds)
Option B: With Localization (language translation support)
Dimensions must be enabled if you would like to localize and translate the website content.
CLI - Install from the Command Line Interface
If you have access to the command line interface (CLI), it is easiest to install the Forms Framework and Sites Framework from the CLI.
php /var/www/webcomand/comand.php io_comand_package add -p io_comand_localization
php /var/www/webcomand/comand.php io_comand_package add -p com_comandsolutions_app_forms
php /var/www/webcomand/comand.php io_comand_package add -p com_webcomand_sites
php /var/www/webcomand/comand.php io_comand_io import -s file:///var/www/webcomand/files/packages/com_webcomand_sites/install/sites-content-localized.js
php /var/www/webcomand/comand.php io_comand_io import -s file:///var/www/webcomand/files/packages/com_webcomand_sites/install/sites.js
UI - Install from the User Interface
If you do not have access to the CLI, you can import two webCOMAND Sites Packages from the User Interface (UI) to utilize the Sites Framework.
- Launch "Content Manager (CMS)"
- Import Sites Content
- Click Import in collection toolbar on right.
- Click "From URL" and enter:
https://www.webcomand.com/packages/com_webcomand_sites/install/sites-content-localization.js
(or /var/www/webcomand/files/packages/com_webcomand_sites/install/sites-content-localization.js) - Click Next and then Import
- Import Sites Pages & Components
- Click Import in collection toolbar on right.
- Click "From URL" and enter:
https://www.webcomand.com/packages/com_webcomand_sites/install/sites.js
(or /var/www/webcomand/files/packages/com_webcomand_sites/install/sites.js) - Click Next and then Import (takes ~30 seconds)