Activating the extension

Each extension needs to be activated, which means that it is being registered for eZ publish to be available from within the eZ publish framework. Every extension can either be activated in the eZ publish administration interface or in a configuration file. Furthermore, the activation can be done either for the whole eZ publish installation or for only certain siteaccesses.

Administration interface

Go to the administration interface of your eZ publish installation and navigate to "Setup / Extensions". The sample extension should be available in the list by the name "ezfoo". Register this extension by activating the checkbox, then click "Apply changes".

Extension configuration

Screenshot of extension configuration in administration interface.

This will activate the extension for all siteaccesses of an eZ publish installation.

Configuration file

Alternativley, an extension can be enabled manually in the site.ini configuration file.

Activating for the whole installation

To do so, edit "site.ini.append[.php]" in the folder

/root_of_ezpublish/settings/override/

If this file does not exist, create it. Locate (or add) the configuration block "[ExtensionSettings]" and add the line which is registering the extension:

[ExtensionSettings]
ActiveExtensions[]=ezfoo

Multiple extensions can be present within the "[ExtensionSettings]" block.

Activating for certain siteaccesses

If you run several virtual sites aka siteaccesses based on a single eZ publish installation and only some of the sites should use the extension, then make the changes in the override file of that siteaccess. This file could be located e.g. at

/root_of_ezpublish/settings/siteaccess/news/site.ini.append[.php]

Notice that the line registering the extension is not called "ActiveExtensions", but "ActiveAccessExtensions":

[ExtensionSettings]
ActiveAccessExtensions[]=ezfoo
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.