Do you know any reason this doesn't work:

<r:archive:children:each>
<r:if_first >
<div class="date" style="text-align:right;"><r:date format="%A, %B %d,  
%Y" /></div>
</r:if_first >
...


The date works fine without the if_first yet it is repeated many  
times.  If I add the if_first I just get no date at all.



On Nov 23, 2009, at 12:18 PM, Jim Gay wrote:

> With your code: <r:archive:children>
> The current page scope for the <r:date> tag is the current page.
> You'd need: <r:archive:children:each>
> Or: <r:archive:children>Here are the children <r:each>...more
> code...</r:each></r:archive:children>
> This would change the scope to each of the children and iterate
> through them. I'm sure you've just been staring at it too long ;-)
>
> On Mon, Nov 23, 2009 at 12:27 PM, Steven Southard
> <ste...@stevensouthard.com> wrote:
>> Okay a little closer.  I'm using this on a aggregated archive day:
>>
>> <r:aggregate urls="/blog-archives/media; /blog-archives/art-scene;">
>> <r:archive:children>
>> <div class="date" style="text-align:right;"><r:date format="%A, %B  
>> %d,
>> %Y" /></div>
>> <h1><r:link /></h1>
>>   <r:content />
>> </r:archive:children></r:aggregate>
>>
>>
>>
>> So on http://localhost:3000/blog-archives/2009/11/12  I was expecting
>> the articles written on a given day but I only get the archive page
>> with the date I made the archive page.  Also Recursion error: already
>> rendering the `body' part.
>> Thanks for all the help so far.
>>
>> Steven
>>
>>
>>
>> On Nov 23, 2009, at 7:00 AM, Jim Gay wrote:
>>
>>> Pull the latest. I just fixed that.
>>>
>>> On Mon, Nov 23, 2009 at 1:31 AM, Steven Southard
>>> <ste...@stevensouthard.com> wrote:
>>>> Yes, I was trying it with a normal page and also I re-installed the
>>>> extension and I got a few more options which make it more
>>>> possible.  I
>>>> think I understand it a bit better, yet I still don't have it
>>>> working.
>>>>
>>>> now on a request like: http://localhost:3000/blog-archives/
>>>> 2009/11/16/
>>>>
>>>>
>>>> I get: undefined method `next_day' for Mon Nov 16 00:00:00 -0600
>>>> 2009:Time
>>>>
>>>> Any ideas on this one?
>>>>
>>>>
>>>>
>>>>
>>>> On Nov 22, 2009, at 5:52 PM, Jim Gay wrote:
>>>>
>>>>> Are you using it on an archive page? aggregate:archive is
>>>>> undefined on
>>>>> just regular pages.
>>>>>
>>>>> On Sun, Nov 22, 2009 at 4:44 PM, Steven Southard
>>>>> <ste...@stevensouthard.com> wrote:
>>>>>> Does this work for anyone else?
>>>>>>
>>>>>> <r:aggregate urls="/blog-archives/media; /blog-archives/art-
>>>>>> scene;">
>>>>>>   <r:archive:children:each>
>>>>>>   </r:archive:children:each>
>>>>>> </r:aggregate>
>>>>>>
>>>>>>
>>>>>> All I get is: undefined tag `archive'
>>>>>
>>>>> --
>>>>> 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
>>
>
>
>
> -- 
> Jim Gay
> Creative Director and Owner
> Saturn Flyer LLC
> j...@saturnflyer.com
> http://www.saturnflyer.com
> 571-403-0338
> _______________________________________________
> 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