This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » General » Aggregating news from different...

Aggregating news from different editors on same page

Aggregating news from different editors on same page

Thursday 23 September 2010 10:12:21 pm - 3 replies


I have an issue of aggregating news (articles) from different user roles and sections on a sigle page. I have two roles and two sections. Each of these roles are editors but with premissons on different sections of the site. They are adding news. Is there a way to present this news on same page, no matter from whom or where thay come? (filtering by tag, possible? how? )

Thank you

Friday 24 September 2010 5:34:42 pm

Hi Ivan,

How are these news stored ? I don't see any problems as long as you give visitors the correct policies on your new section.

Friday 24 September 2010 6:49:23 pm


Thank you for your reply. It dont know how to do this. Lets say that i have users that are interested in sport, and users that are interested in movies. For those sections I assigned different editor. Each editor has rights to edit only on his section. There is no difficulty adding articles on either of those sections. But now I want one page that would display latest articles from all the editors. Something like "Latest content" from eZ Flow, but with multiple sources. Can you tell me how can this be done?

Saturday 25 September 2010 10:14:11 am

I'm not sure if it's exactly what you are asking, but I think what you want to do is a seperate fetch per section... assuming that each section is a different node and all of the contents for that section are in the subtree of that node.

There are other ways of doing it... like doing one tree fetch on the parent of the sections - but if you care about sorting the output into the different sections and having some sort of balance between the number of items per section, then I think the most efficient way of doing it is seperate fetches and then putting the output together whatever way you want.

Of course, this depends on your site structure... if you have everything dumped in one folder - or the content all over the place randomly, then - I guess you would have to still do multiple fetches with an attribute filter on whatever attribute determines what section the object belongs to.

Of course, then cache it per section so that the overhead of the fetches is minimized.


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

36 542 Users on board!

Forums menu

Proudly Developed with from