This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » How to override a module function

How to override a module function

How to override a module function

Thursday 24 November 2005 4:16:57 pm - 2 replies


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??


Modified on Thursday 24 November 2005 4:18:20 pm by Jade Tremblay

Thursday 24 November 2005 4:19:00 pm


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

Tuesday 29 November 2005 7:50:12 pm

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. sad.gif Emoticon It's not upgrade wise!



You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from