<r:aggregate paths='/about; /articles'>
 <r:children:each>
  <r:title/>
 </r:children:each>
</r:aggregate>

and

<r:aggregate paths="/about; /articles">
 <r:children:count/>
</r:aggregate>

work on the demo site. inside the aggregate tag you have a collection that 
you still the use the children tags.

On Monday, January 14, 2013 2:04:25 PM UTC-6, Jim Gay wrote:
>
> On Mon, Jan 14, 2013 at 11:46 AM, Mohit Sindhwani 
> <[email protected]<javascript:>> 
> wrote: 
> > Hi Jim, 
> > 
> > On 15/1/2013 12:27 AM, Jim Gay wrote: 
> >> 
> >> Benito, 
> >> 
> >> Try putting the paths inside the aggregate like this: 
> >> 
> >> <r:aggregate paths="..."><r:each>... 
> >> 
> >> I'd like to rework the way tags share information, but for now that 
> >> should do it. 
> > 
> > 
> > I was trying to see if I could help, but I actually got the same error 
> for: 
> > 
> > 
> > <r:aggregate paths="/stage/utk/common;/stage/utk"> 
> > <r:aggregate:children:count /> 
> > </r:aggregate> 
> > 
> > ==> 
> > 
> > `aggregate’ tag must contain a `paths’ or `urls’ attribute. 
> > 
> > Not sure what the cause is... 
> > 
> > What's the best way to try stuff? Would it be best to freeze radiant 
> locally 
> > to the project and then try to edit that source code to see what the 
> problem 
> > is? 
> > 
>
> Interesting. We should have tests that cover this. 
> Would either of you mind making an issue on github for this 
> https://github.com/radiant/radiant/issues 
>
>
> -- 
> Write intention revealing code #=> http://www.clean-ruby.com 
>
> Jim Gay 
> Saturn Flyer LLC 
> 571-403-0338 
>

Reply via email to