Howto use Ez components with Ez publish

Author Message

Gerhard Sletten

Friday 10 October 2008 6:23:53 am

Hi, is there a way to use Ez components together with Ez publish?

Lets say you want your current ez distribution rather use an earlier version of the classes found in ezcomponents?

Triathlon, Webdev, Novels and Cooking..
http://www.gersh.no

Gaetano Giunta

Friday 10 October 2008 2:31:11 pm

A)
Look at the autoload.php file from within ez - you can basically set up a file called config.php and set up a php include path from there. The new include path needs to point to a dir where your custom version of the ezc components are (class ezcbase needed)

B) if you only want to use a couple of the ezc, you might add the path to the ezc classes files by hand to your autoload/ezp_extension.php file (nb: tedious and error prone process)

Principal Consultant International Business
Member of the Community Project Board

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 31 2025 03:24:55
Script start
Timing: Jan 31 2025 03:24:55
Module start 'layout'
Timing: Jan 31 2025 03:24:55
Module start 'content'
Timing: Jan 31 2025 03:24:55
Module end 'content'
Timing: Jan 31 2025 03:24:55
Script end

Main resources:

Total runtime0.0244 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.2500151.2266
Module start 'layout' 0.00480.0037 739.4766220.7188
Module start 'content' 0.00860.0143 960.1953997.8047
Module end 'content' 0.02290.0014 1,958.000029.9922
Script end 0.0243  1,987.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002510.1890140.0002
Check MTime0.00104.1806140.0001
Mysql Total
Database connection0.00072.727410.0007
Mysqli_queries0.00249.951430.0008
Looping result0.00000.045010.0000
Template Total0.00104.210.0010
Template load0.00083.194910.0008
Template processing0.00020.967210.0002
Override
Cache load0.00052.243410.0005
General
dbfile0.002510.128480.0003
String conversion0.00000.033240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs