Share » 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 1:12:21 pm - 3 replies

Author Message

Nabil Alimi

Friday 24 September 2010 8:34:42 am

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.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Ivan Švogor

Friday 24 September 2010 9:49:23 am

Hello,

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?

Steven E. Bailey

Saturday 25 September 2010 1: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.

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

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

36 542 Users on board!

Forums menu