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.

eZ debug

Timing: Jan 18 2025 05:09:33
Script start
Timing: Jan 18 2025 05:09:33
Module start 'layout'
Timing: Jan 18 2025 05:09:33
Module start 'content'
Timing: Jan 18 2025 05:09:34
Module end 'content'
Timing: Jan 18 2025 05:09:34
Script end

Main resources:

Total runtime1.1741 sec
Peak memory usage4,096.0000 KB
Database Queries74

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.3281152.6563
Module start 'layout' 0.00510.0026 741.984439.4922
Module start 'content' 0.00771.1652 781.4766662.3828
Module end 'content' 1.17290.0012 1,443.859416.0938
Script end 1.1741  1,459.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2558160.0002
Check MTime0.00130.1069160.0001
Mysql Total
Database connection0.00090.073410.0009
Mysqli_queries1.115795.0216740.0151
Looping result0.00070.0581720.0000
Template Total1.144697.520.5723
Template load0.00200.167420.0010
Template processing1.142697.318520.5713
Template load and register function0.00020.020210.0002
states
state_id_array0.00100.081310.0010
state_identifier_array0.00130.108020.0006
Override
Cache load0.00170.1437310.0001
Sytem overhead
Fetch class attribute can translate value0.00070.062640.0002
Fetch class attribute name0.00210.180690.0002
XML
Image XML parsing0.00120.100040.0003
class_abstraction
Instantiating content class attribute0.00000.001790.0000
General
dbfile0.00180.1528240.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs