EZP4 : custom module function_definition doesn't load !!!

Author Message

H-Works Agency

Friday 17 October 2008 2:49:00 am

Hi all,

I have a serious problem with creating custom fetch function for ezp4.

In fact the process i used for ezp3 doesn't work anymore. It tell me my function doesn't exist for my module "custom".

Is there known issues about this topic ?

Here is the message i have tough everything looks fine and was working on version 3 :

No class 'eZExtrafetchFunctionCollection' available for function 'keywords' in module 'extrafetch'

EZP is Great

André R.

Friday 17 October 2008 3:12:50 am

eZExtrafetchFunctionCollection needs to be defined in the autoload file, either by running the script to update the autoload file or by manually edit autoload/ezp_extensions.php

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

H-Works Agency

Friday 17 October 2008 9:16:02 am

Uhm great....in fact that was the point. Thanx andré

Why this thing was added. It's tedious to do this everytime.

Why not using the ezp3 "include_file" in each function_definition.php ?

EZP is Great

Kristof Coomans

Monday 20 October 2008 12:47:55 am

Hi Martin

The autoload features will be overhauled in eZ Publish 4.1. We're looking into some possibilities to make it more flexible while developing extensions.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

H-Works Agency

Monday 27 October 2008 2:46:58 am

Ok i understand. In fact its not very clean especially when its a multiple-site ezp4 install (as this file is common for all installations).

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.