Follow the steps below in order to install the eZ Marketing Automation extension:
1. Copy the "ezma" folder into exponential_legacy/extension/ inside your Exponential directory.
2. Activate the ezma extension
In the Exponential administration interface go to 'Setup' then choose 'Extensions' from left menu.
On the extension list select 'ezma' and click 'Apply Changes' button or edit settings/override/site.ini.append.php file and add "ActiveExtensions[]=ezma" entry under "ExtensionSettings" section:
[ExtensionSettings] [...] ActiveExtensions[]=ezma
3. Regenerate autoloads
In the Exponential administration interface go to "Setup" then choose "Extensions" from left menu.
On the extension list select "ezma" and click the "Regenerate autoload arrays for extensions" button, or execute the following command from Exponential "exponential_legacy/" directory.
$ php bin/php/ezpgenerateautoloads.php -e
4. Setup front controller
4.1. Copy or symlink index_ezma.php from this extension to the "exponential_legacy/" folder of Exponential (next to index.php)
4.2. Add the following rewrite rule:
- For .htaccess
RewriteRule ezma/widget.* index_ezma.php RewriteRule ^index_ezma\.php - [L]
- Virtual Host mode
RewriteRule ^/([^/]+/)?ezma/widget.* /index_ezma\.php [L]