On Aug 11, 2009, at 5:10 PM, Steven Southard wrote:

I'm aggregating articles and page events on the home page and I'd like them to include different attributes such as event date and time if it's an event. Is there some way to separate aggregated items by their parents?

You can use <r:if_url> to match only part of a url

<r:if_url matches="^/events/">Only show for events</r:if_url>
<r:if_url matches="^/news/">Only show for news</r:if_url>

(Obviously you have to alter those for the actual URLs of your site.)

~~ Brian
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to