Keith,

I quietly added that feature the other day.  It is kind of untested.  
However, because of the assignment of tag.locals.attachment inside the 
loop, it should work properly, but only for the current page.  It will 
not cascade to parent pages.  Here's a snippet of how it should work:

<r:attachment:each>
<p><r:link /> - <r:date /></p>
</r:attachment:each>

That would conceivably print a link to each attachment in a paragraph 
with its upload date.

Sean

P.S. I just found and fixed a minor bug in the order clause.  I hope 
that wasn't your problem!

Mailing wrote:
> Hi,
>
> Has anyone managed to use the page attachments extension to display all 
> attachments relating to a page by using <r:attachments:each>? Seems as 
> though it can only be used if you can specify the name at the moment?
>
> Has anyone got any example code for this?
>
> Keith
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
>   

_______________________________________________
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