Forums / Install & configuration / Ini settings in ActiveAccessExtensions[]/ActiveExtensions[]

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

eZ debug

Timing: Jan 18 2025 03:04:51
Script start
Timing: Jan 18 2025 03:04:51
Module start 'content'
Timing: Jan 18 2025 03:04:52
Module end 'content'
Timing: Jan 18 2025 03:04:52
Script end

Main resources:

Total runtime0.7652 sec
Peak memory usage4,096.0000 KB
Database Queries211

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9766180.8047
Module start 'content' 0.00510.6701 768.7813667.4922
Module end 'content' 0.67520.0899 1,436.2734341.0469
Script end 0.7651  1,777.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4555210.0002
Check MTime0.00130.1757210.0001
Mysql Total
Database connection0.00060.075210.0006
Mysqli_queries0.699391.39582110.0033
Looping result0.00160.20372090.0000
Template Total0.742797.120.3714
Template load0.00210.275020.0011
Template processing0.740696.795020.3703
Template load and register function0.00010.012610.0001
states
state_id_array0.00080.109410.0008
state_identifier_array0.00060.075720.0003
Override
Cache load0.00180.2332310.0001
Sytem overhead
Fetch class attribute can translate value0.00090.118450.0002
Fetch class attribute name0.00280.364890.0003
XML
Image XML parsing0.00150.191150.0003
class_abstraction
Instantiating content class attribute0.00000.005390.0000
General
dbfile0.00430.5569350.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs