I would really like to use a page part or a snippet to define the list
of urls in the aggregate tag, ie:
<r:aggregate urls='<r:find url="/root"><r:content
part="news_urls"/></r:find>'>
{Show aggregated data}
</r:aggregate>
or
<r:aggregate urls='<r:snippet name="root-news-urls">'>
{Show aggregated data}
</r:aggregate>
I want to do this because I have a hierarchy of
/organization
-------------\news
-------------\group a
---------------------\news
---------------------\project a
-------------------------------\news
---------------------\project b
-------------------------------\news
-------------\group b
---------------------\news
---------------------\project a
-------------------------------\news
---------------------\project b
-------------------------------\news
Each news folder has multiple news posts that should bubble up the
hierarchy to be shown in all ancestor news pages. The news is also
displayed differently in different contexts (main news page, quick view
news sidebar, rss feed) So a dynamic aggregate tag would be great.
Is it possible? What changes would I have to make to the aggregate
extension? Am I just missing something?
Thanks,
Chaim Kirby
[email protected]
Children's Hospital Informatics Program
Children's Hospital Boston
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant