Ini settings in ActiveAccessExtensions[]/ActiveExtensions[]

Author Message

Christian Johansen

Friday 29 June 2007 1:10:47 am

I created an extension and put a lot of settings in it. The extension was enabled through settings/override/site.ini.append

After a while I realized that I didn't need the extension in the admin interface. I removed the ActiveExtensions[] setting from settings/override/site.ini.append and added ActiveAccessExtensions[] to settings/siteaccess/myaccess/site.ini.append.

Some things stopped working, so I started inspecting ini settings through /settings/view in the admin and discovered that none of the settings from the extension loaded through ActiveAccessExtension[] were set there (I view the correct siteaccess). Is this a bug or have I overlooked something?

André R.

Friday 29 June 2007 1:18:26 am

Obligatory question: Have you cleared the cache? (all ini cache and template cache if the settings are used in templates)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Christian Johansen

Friday 29 June 2007 4:50:46 am

Trying new things: caches are cleared, always :)

Christian Johansen

Monday 02 July 2007 3:46:34 am

I've just set up a new site where I want to do exactly the same, but enabling the extension through ActiveAccessExtensions[] doesn't work. Settings in the extension are blindly overlooked :(

Jean-François Müller

Sunday 26 September 2010 4:12:36 am

Hey,

I still have exactly the same problem. I want to keep my work separated within extensions so I work in an extension activated on siteaccess level by setting it up within settings/siteaccess/<my_siteaccess>/site.ini.append.php. I used ActiveAccessExtension to activate it there.

It worked so far, but as soon as I tried to override the imagelarge alias via extension/<my_extension>/settings/image.ini.append.php it always get overriden by the one defined in extension/ezflow/settings/image.ini.append.php. Therefore the image settings within ezflow do not have the characteristics of an overridable setting. The only way I was able to override it was to construct a global extension with the specific settings and to load it globally within the settings/override/site.ini.append.php file or to put it directly into settings/override/image.ini.append.php.

So currently it is not possible to override extension settings, which should have the characteristics of default settings, on siteaccess level. Am I correct?

Greetz

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eZ Publish Developer
http://ez.no/certification/verify/395614

Jérôme Vieilledent

Sunday 26 September 2010 5:40:04 am

Hi Jean-François

Yes, it seems to be an extension order issue. Your settings extension is a good approach though.

Your issue should be resolved with Fuji, thanks to the new extension.xml feature :).

Jean-François Müller

Sunday 26 September 2010 6:17:13 am

Hi Jérôme,

new extension.xml feature!? Sounds great! :)

Thx for the fast reply!

Best regards

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eZ Publish Developer
http://ez.no/certification/verify/395614

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.