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.