Installation
This section explains in few steps how to install the ezmultivariatetest Extension.
1. Extract the ezmultivariatetest extension, and place it in the extensions folder.
2. Enable the extension in eZ Publish. Do this by opening the file settings/override/site.ini.append.php and adding the following command to the [ExtensionSettings] block:
ActiveExtensions[]=ezmultivariatetest
3. Update the autoloads class by running the script: php bin/php/ezpgenerateautoloads.php
4. Add a table to the database used by your eZ Publish instance. You can do this as follows, from eZ Publish's root directory:
In case you are using MySQL:
$ mysql -u <user> -p <database_name> < extension/ezmultivariatetest/sql/mysql/schema.sql
The procedure is very similar in case you are using another RDMS. You may want to have a look at the sql/oracle and sql/postgresql for Oracle and PostgreSQL databases, respectively.
Note: Please, refer to the reference documentation for your DBMS if you experience issues.
5. Import the “Multivariate Test Container” content class: Log in into the eZ Publish administration interface and navigate to the Setup tab. On the left side menu click on the “Packages” label. From the “Packages” view click on the “Import new package” button and proceed with the import wizard instructions. eZ Publish package with content class definition is located in ezmultivariatetest/packages/multivariate_test_container.ezpkg.
6. Clear the template override cache with the command:
$ php bin/php/ezcache.php --clear-id=template-override
Andrea Melo (07/08/2012 8:34 am)
Andrea Melo (31/08/2012 12:18 pm)
Comments
There are no comments.