Activation of ezfind, ezwebin, ezflow...?

Author Message

H-Works Agency

Thursday 31 December 2009 5:14:25 am

Hello everyone,

Why ezfind, ezflow, ezwebin can't be enabled on a per siteaccess basis ? This is a big problem in a ezpublish multi-website environnement from ezp version 4.0.

In fact the "documentation" says it has to be enabled in "override/site.ini".

The basic idea of ezpublish regarding settings is to be able to dispatch each setting at the siteaccess level. No setting should only be enabled in "override/site.ini" for exemple or there is a design error somewhere.

More globally the debug system really lack a setting & design "override" module which would display loading orders. The "override" concept is the basis of ezpublish and is not addressed anywhere.

Would be more than helpful to have a little module which would respond to those questions :

- For each setting, template, javascript, css, image files : what is the loading order.

- For a given variable : in which file this variable is present and in which file is the last override.

EZP is Great

Patrick Kaiser

Thursday 31 December 2009 10:48:14 am

Of course you can enable extensions on a siteaccess basis. To do so use the following configuration directive in the site.ini.append.php of the respective siteaccess:

[ExtensionSettings]
ActiveAccessExtensions=ezfind
ActiveAccessExtensions=myCustomExtension
ActiveAccessExtensions=...


Best regards,

Patrick

Nicolas Pastorino

Monday 01 February 2010 7:02:19 am

Hi Martin,

Did Patrick's answer help you out ? I was also a bit surprised by your assertion, did you confirm this ?
Per your other points, i can only fully agree with you. Would be more than helpful to have a proper debugging system for the many override systems in eZ Publish.

Let us know,
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

H-Works Agency

Tuesday 02 February 2010 7:20:25 am

Thank you patrick it works !

EZP is Great

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 29 2025 14:40:12
Script start
Timing: Jan 29 2025 14:40:12
Module start 'layout'
Timing: Jan 29 2025 14:40:12
Module start 'content'
Timing: Jan 29 2025 14:40:14
Module end 'content'
Timing: Jan 29 2025 14:40:14
Script end

Main resources:

Total runtime1.2628 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.1563151.2109
Module start 'layout' 0.00630.0027 739.367236.6484
Module start 'content' 0.00911.2528 776.0156542.4063
Module end 'content' 1.26190.0009 1,318.421911.8281
Script end 1.2628  1,330.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2341160.0002
Check MTime0.00130.1006160.0001
Mysql Total
Database connection0.00090.071310.0009
Mysqli_queries1.218996.5204620.0197
Looping result0.00060.0469600.0000
Template Total1.220196.620.6100
Template load0.00220.173320.0011
Template processing1.217996.440420.6089
Template load and register function0.00010.011510.0001
states
state_id_array0.00160.124710.0016
state_identifier_array0.00210.163420.0010
Override
Cache load0.00170.1385260.0001
Sytem overhead
Fetch class attribute can translate value0.00050.039330.0002
Fetch class attribute name0.00130.101170.0002
XML
Image XML parsing0.00300.236330.0010
class_abstraction
Instantiating content class attribute0.00000.001180.0000
General
dbfile0.00340.2669290.0001
String conversion0.00000.000540.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs