How to override a module function

Author Message

Jade Tremblay

Thursday 24 November 2005 7:16:57 am

Hello,

I'm looking for a way to extend an existing ezPublish module. (shop module) I would like to rewrite a single function (addtobasket) without modifing the original module. Is it possible to do that with an extension??

Regards,

Jade Tremblay
Directeur Technologique

Perséides Technologie
www.perseidestech.net
Passez du rêve à la réalité!

Alexandre Abric

Thursday 24 November 2005 7:19:00 am

Hi,

I don't think this is possible. You would need to copy the entire module as an extension and then modify the function.

Jade Tremblay

Tuesday 29 November 2005 10:50:12 am

Is there anything that could be done with module's hook. What is the exact purpose of hooks?

I don't like the idea of copying the whole module's code. :( It's not upgrade wise!

Regards,

Jade Tremblay
Directeur Technologique

Perséides Technologie
www.perseidestech.net
Passez du rêve à la réalité!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.