Requirements and Installation
System Requirements
- eZ Publish version 4.x or later is required. So also check the system requirements for eZ Publish
- It is optional to use the FTP extension with eZ XML Export if its functionality is needed.
Installation
- Download the extension here.
- Extract the eZ XML Export package in the "extension" folder of your eZ Publish installation directory.
- Enable the extension by adding "ActiveExtensions[]=ezxmlexport" to the block [ExtensionSettings] in your (...)/settings/override/site.ini.append.php file, like this:
[ExtensionSettings] (...) ActiveExtensions[]=ezxmlexport (...)
- This extension uses special tables so you must create a SQL schema. You need to apply the SQL script delivered with this extension in order to get the extension working. Run the following command:
mysql -u[user] -p[password] -h[host] [database_name] < extension/ezxmlexport/sql/mysql/schema.sql
Replace "user", "password", "host" and "database_name" with the user, password, host name and database name used by your installation. Next regenerate autoloads. This can be done in the Administration Interface. From the Setup tab, click on the Extensions link in the menu on the left. In the list displayed check the "ezxml" extension and press the "Regenerate autoload arrays for extensions" button.
Autoloads can also be regenerated from the command line. The way to do this depends on the system used. An example of such a command when using Linux is:
$php bin/php/ezpgenerateautoloads.php -e
"$php" should be replaced by the path to your php executable.
- Finally, clear the cache from the administrator interface. In the Setup tab, click on the Cache Management link in the menu on the right.
- In order to use this extension you have to create a customer and an export. All forms are located at the following address:
http://<SITE>/<ADMIN_SITEACCESS>/xmlexport/menu
Change <SITE> and <ADMIN_SITEACCESS> with the your proper site address and site access name.
You can also do this from the eZ Publish administrator interface. To do this, go to the Setup tab and select XML export from the left menu. For more information visit the chapter Exporting content class definition as XML Schema. - This extension is shipped with only one cronjob. You are free to define the schedule that best fits your needs. Run this cronjob with the following command:
$php runcronjobs.php ezxmlexport
"$php" should be replaced by the path to your php executable.
Geir Arne Waaler (22/10/2010 7:43 am)
Geir Arne Waaler (22/10/2010 11:40 am)
Comments
There are no comments.