Forums / Developer / Module in siteaccess

Module in siteaccess

Author Message

Piotr Switkowski

Wednesday 19 January 2005 12:50:47 pm

I have a module, but want this module to be available in only one siteaccess. So I included the module in the site.ini override for this siteaccess. And module could not be found. When I add same commands in global site.ini override it works.

How can I have module for only one site access ?

Lazaro Ferreira

Wednesday 19 January 2005 2:26:09 pm

Hi

Do you mean an extension ?

Yes, you can enable an extension by siteaccess

Lazaro
http://www.mzbusiness.com

Łukasz Serwatka

Wednesday 19 January 2005 2:38:53 pm

Hi,

Did you add

[ExtensionSettings]
ActiveExtensions[]=your_extension

to your siteaccess/prefix/site.ini.append.php file?
Try clear INI cache.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Lazaro Ferreira

Thursday 20 January 2005 1:22:11 am

Hi,

I would try CLEAR ALL cache instead CLEAR INI cache

Lazaro
http://www.mzbusiness.com

Hans Melis

Thursday 20 January 2005 1:28:50 am

Hi,

A small correction to what has been suggested above. You're looking for the following in the site.ini of the siteaccess:

[ExtensionSettings]
ActiveAccessExtensions[]=your_extension

The ActiveExtensions settings is only read as a global setting, not as a siteaccess-specific setting. If you want to enable an extension only for a specific siteaccess, you need to use the ActiveAccessExtensions setting in the site.ini of the siteaccess.

hth

Hans
http://blog.hansmelis.be

Łukasz Serwatka

Thursday 20 January 2005 1:43:51 am

Hi Hans,

Right. Thanks for your correction ...

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog