eZ Community » Forums » General » Aggregate news on same page from...
expandshrink

Aggregate news on same page from different editors and sections

Aggregate news on same page from different editors and sections

Thursday 23 September 2010 10:14:16 pm - 1 reply

Hello,

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

Sunday 03 October 2010 9:12:49 pm

Fetching the news doesn't depend on the users that created them. (and it is users, not roles)

I think that what you need is to fetch news from two different nodes. Have a look at the "list" and "tree" fetch functions:

http://doc.ez.no/eZ-Publish/Techn...Modules/content/Fetch-functions/list

http://doc.ez.no/eZ-Publish/Techn...Modules/content/Fetch-functions/tree

Notice that you can set an array of node ids for "parent_node_id".

Hope this helps.

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from