An unique module with results from various modules

Author Message

Jose Salgado

Saturday 15 December 2007 11:25:14 am

My question is easy, but i have not reply.

<b>How can i develop a module which result gets from the results of various modules?</b>
I mean, if i have two modules, named A and B, both of them return a single view, how can i "capture" the results of these modules and join them in one single view for a module, named C?

Thanks in advance

Piotrek Karaƛ

Saturday 15 December 2007 11:45:00 am

An interesting one!

I might be wrong, but I think this is impossible. It seems to me, that module/view combination is internally unique, even if only for module declarations, such as script, parameters or functions by means of which access control is performed. Also, only one set of result parameters is always collected.

The only possibility I can see is to develop a module that borrows PHP code from other modules to build a compound result, that from outside may seem like a view combination, but in fact stands a new quality. That would also require rethinking module/view combinations, access functions etc...

Let's wait for some more experienced opinion ;)

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Heath

Sunday 16 December 2007 1:52:28 pm

This topic has arisen before a few times before and the answers seem to surround two keys.

By default, using frames and ... 'other'.

I was working with ezadmin extension this week on a different solution and while your question was asked I noticed that ezadmin has a neat module view which loads the results from a different module view's results within a frame or iframe.

This while interesting may not meet your needs still I think it is a prime example of a way one could reach the goal you seek.

Check out the extension and the module views it provides. <i>ie: /admin/frame/admin/phpinfo</i>

<i>http://pubsvn.ez.no/community/trunk/extension/ezadmin/</i>

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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