Navigation
eZ Documentation Center
 

Skip to end of metadata
Go to start of metadata

Follow the steps below in order to install the eZ Marketing Automation extension:

1. Copy the "ezma" folder into ezpublish_legacy/extension/ inside your eZ Publish directory.
2. Activate the ezma extension

In the eZ Publish 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 eZ Publish 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 eZ Publish "ezpublish_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 "ezpublish_legacy/" folder of eZ Publish (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]