I don't understand the formating issue I am having here.  I am simply  
trying to express turning the list of children's url into a variable  
and using it in aggregation.  Please over look the formatting issue.


On Dec 2, 2009, at 1:35 PM, Steven Southard wrote:

> Not sure why the code came out like that it was a bit odd I hope this
> is more readable.
>
> <r:ruby>
>     @urls = "<r:find url='/blog-archives/'><r:children:each><r:url /
>> ; </r:children:each></r:find>"
>     ""
> </r:ruby>
>
> <r:aggregate urls="@urls" >
> ...
>
> On Dec 2, 2009, at 1:30 PM, Steven Southard wrote:
>
>> Okay I can see that.  So why doesn't this work using the back door
>> extension:
>>
>> <r:ruby>
>>    @urls = "<r:find url='/blog-archives/'><r:children:each><r:url /
>>> ; </r:children:each></r:find>"
>>    ""
>> </r:ruby>
>>
>> <r:aggregate urls="@urls" >
>> ...
>>
>> It works in conditional statements like this so why doesn't it work
>> here?  Is there a standard way for aggregation to find added children
>> and include them?
>>
>>
>> Steven
>> http://www.stevensouthard.com
>>
>>
>> On Dec 2, 2009, at 7:20 AM, Jim Gay wrote:
>>
>>> On Tue, Dec 1, 2009 at 9:54 PM, Steven Southard
>>> <ste...@stevensouthard.com> wrote:
>>>> This seems like it would work great and be really helpful. For some
>>>> reason it doesn't output anything.  Do I have it wrong or will find
>>>> not work inside aggregation or something?
>>>>
>>>> <r:aggregate urls="<r:find url='/blog-
>>>> archives/'><r:children:each><r:url />; </r:children:each></
>>>> r:find>" >
>>>> ...
>>>
>>> Radius does not do that.
>>>
>>> You can't have tags inside attributes.
>>> What would need be be implemented is another feature where you
>>> specify
>>> child_urls or children_of or something like that and the tag would
>>> grab children of those given urls. This does not exist, but I'm sure
>>> it would be a welcomed addition.
>>>
>>> -- 
>>> Jim Gay
>>> http://www.saturnflyer.com
>>> _______________________________________________
>>> Radiant mailing list
>>> Post:   Radiant@radiantcms.org
>>> Search: http://radiantcms.org/mailing-list/search/
>>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>> _______________________________________________
>> Radiant mailing list
>> Post:   Radiant@radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to