external extension directory

Author Message

Johann Lemaitre

Monday 23 May 2011 8:19:28 am

Hi,

I want to group some general extensions in a different directory than extension. It is possible ?

My structure will be :

ezPublish
  -- autoload
  -- bin
  -- ....
  -- extension
  -- common_extension ...

Thx for ideas.

Johann Lemaitre

Marko Žmak

Monday 23 May 2011 9:20:07 am

There's an ini setting that allows you to change the extension folder:

  • http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Configuration-files/site.ini/ExtensionSettings/ExtensionDirectory

But by changing this, you should also move the default eZP extension to that folder which could complicate your life when you do the upgrade.

The question that comes to my mind is why do you want to do such a thing? I don't see any valid reason for doing it. Maybe there's another solution for the specific thing you are trying to do...

Also take a look at this blogpost:

  • http://share.ez.no/blogs/marko-zmak/loading-external-libraries-in-extensions

maybe it could help with what you are looking for.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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 02:03:52
Script start
Timing: Jan 18 2025 02:03:52
Module start 'layout'
Timing: Jan 18 2025 02:03:52
Module start 'content'
Timing: Jan 18 2025 02:03:53
Module end 'content'
Timing: Jan 18 2025 02:03:53
Script end

Main resources:

Total runtime0.8856 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 589.0313152.6250
Module start 'layout' 0.00460.0026 741.656339.4531
Module start 'content' 0.00720.8769 781.1094530.8203
Module end 'content' 0.88420.0014 1,311.92978.1641
Script end 0.8855  1,320.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3477160.0002
Check MTime0.00130.1446160.0001
Mysql Total
Database connection0.00040.047310.0004
Mysqli_queries0.842595.1349540.0156
Looping result0.00050.0540520.0000
Template Total0.862697.420.4313
Template load0.00180.206720.0009
Template processing0.860897.199320.4304
Template load and register function0.00030.028810.0003
states
state_id_array0.00080.092010.0008
state_identifier_array0.00060.068820.0003
Override
Cache load0.00160.1756250.0001
Sytem overhead
Fetch class attribute can translate value0.00060.063120.0003
Fetch class attribute name0.00110.128630.0004
XML
Image XML parsing0.00070.080720.0004
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00080.0870180.0000
String conversion0.00000.000940.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
2content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs