Navigation
eZ Documentation Center
 

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3


In order to configure eZ Marketing Automation please follow these steps:


1. Create new 'ezma.ini.append.php' configuration file under settings/override/ directory.

2. Set your Net-Results account credentials for Web Service settings as:

No Format
[WebServiceSettings]
Username=john.doe@example.com
Password=secret



3. Token configuration

3.1. Generate token with a following command line:

No Format
$ md5 -s 'SOME_TEXT

Note: Replace SOME_TEXT with the string you want to use.


3.2. Set a newly generated string for Token setting under [SecuritySettings] block:

No Format
[SecuritySettings]
Token=f7a5d4ca0b2a6cf667fe3da9fc06edff

 

4. Mail authoring feature requires preview configuration.

4.1. Set SiteAccessName on your settings/override/ezma.ini.append.php file, under [PreviewSettings] block:

No Format
[PreviewSettings]
SiteAccessName=eng


4.2. Copy content of the existing administration interface siteacces folder into a new ezmacontentpicker folder

No Format
$ cp -rf ezpublish_legacy/settings/siteaccess/(your_site_admin)/ ezpublish_legacy/settings/siteaccess/ezmacontentpicker/

4.3. Set it to use the "ezma" design with the SiteDesign setting, on your ezpublish_legacy/settings/siteaccess/ezmacontentpicker/site.ini.append.php file:

No Format
[DesignSettings]
SiteDesign=ezma



4.4. Disable the generation of a new session name for content picker siteaccess by placing following settings on your settings/siteaccess/ezmacontentpicker/site.ini.append.php file:

No Format
[Session]
SessionNamePerSiteAccess=disabled



4.5. Next open your settings/override/site.ini.append.php file and add the newly created siteaccess into the AvailableSiteAccessList[] and SiteList[] arrays:

No Format
[SiteAccessSettings]
[...]
AvailableSiteAccessList[]=ezmacontentpicker

[SiteSettings]
[...]
SiteList[]=ezmacontentpicker

Note: if your eZ Publish setup is using HOST based matching you will need to update [SiteAccessSettings].HostMatchMapItems accordingly.


4.6. Set full URL (inc. http:// prefix) to ezmacontentpicker siteaccess for content picker widget, in your settings/override/ezma.ini.append.php:

No Format
[WidgetSettings_ezmacontentpicker]
FullURL=http://example.com/ezmacontentpicker


5. Copy the integer value of data-pid="XXXX" to the InstallaionId setting

 

No Format
[TrackingSettings]
InstallaionId=XXXX

Note: By default ezma extension inserts the implementation code above the </body> tag at the end of each page. Implementation code for automatic website tracking requires installation identifier which can be found in the "My Account" tab in the "eZ Marketing Automation Implementation Code" section.
Please check the following screenshot for more details:

 



6. Clear the cache, by executing the ezcache.php script, from your ezpublish_legacy folder:

No Format
$ php bin/php/ezcache.php --clear-all --purge