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 » Multiple extensions for a single module

Multiple extensions for a single module

Multiple extensions for a single module

Friday 16 December 2011 5:05:24 pm - 3 replies

Hi there,

I would like to know if it is possible to have a single module built over multiple extensions.

The idea is to have a basic extension and to add functionalities to the module by adding other extensions.

Friday 16 December 2011 5:19:49 pm

Hello Damien,


I must say the idea is inspiring, in a way!

But I have -never- -ever- seen such a thing in any publish eZ Publish solution in over 10+ years.


I have only known of creating unique modified copies of existing module views and customizing as needed within a single extension.


Still this might be useful if this was a feature! Consider suggesting it in a feature request or issue ticket?


I hope this helps ...




Friday 16 December 2011 5:39:42 pm

Hi Heath,
I tryed making two extensions. But even if the two extensions are loaded without any warning, the first extension is the only one who could be used (there is errors when you try to access to view declared in an another extension).
In fact I'm making an extension to configurate other extensions. So I wanted to make a first extension who add menu entries and add view in the other extensions to manipulate their own datas.
The first extension would be a kind of entrypoint for the views of the other extensions.
As my extensions are very small and simple I will do something by my own. But it would be for sure interesting to have this kind of mechanism in eZ.


Saturday 17 December 2011 12:29:39 pm

@Damien: it the eZ MVC architecture, what you want is currently not possible - unless you hack your way around how it was designed. As an example, it is not even easy to say that view V1 in module M1 requires for access a permission P2 from module M2.

You might find ideas to help you in the following extensions:

- ggsysinfo (listing all modules and views)

- ezonrails (extending the current mvc system to make creation of views easy by registering php classes and their methods)


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

36 542 Users on board!

Forums menu

Proudly Developed with from