All sites have NewsListingRevised snippet installed.
One site should grab some pages from another sites and show them like news by using NewsListingSnippet.
In another words, $resource array should contain the data taken from different tables.
I provide to ther $etomite -> dbQuery() function a query like this:
[code](SELECT id, pagetitle, description, content, createdon, createdby FROM main_site_content WHERE main_site_content.parent=8 AND main_site_content.published=1 AND main_site_content.deleted=0) UNION (SELECT id, pagetitle, description, content, createdon, createdby FROM nic_site_content WHERE nic_site_content.parent=8 AND nic_site_content.published=1 AND nic_site_content.deleted=0) ORDER BY createdon DESC[code]
but.. it returnes an error.
How to make Etomite (get ActiveChildren() function) work with this query?
Edited by andrey_fisher, 08 February 2006 - 01:28 AM.










