Forums / Developer / module hook / Comment56372
Marko Žmak
Wednesday 23 December 2009 2:31:05 am
Thanks fot the answer Bruce. I'm looking for a general solution for this that works with all modules. and your suggestion ("You may be able to add PHP code by executing the required module from a custom one") could be a step forward. So the next question is...
How can I do this:
- for any exsisting module that I want, create my own code which does everything that the module originally does, but also executes some ektra code. Can this be achieved using extensions, and how?
- I would also like that this feature stays compatible with the rest of the eZ so that I don't have to call new custom modules but that everything works with existing modules (i.e. content/edit, content/tipafriend, user/register ...). So this brings another question: Can modules be overriden in extensions and how?
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth