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.