On Thu, 2008-06-26 at 08:27 -0600, john muhl wrote:
> have you tried something like:
> 
> <r:find url="/manufacturers">
>    <r:children:each>
>      <r:attachment:image name="logo.png" />
>    </r:children:each>
> </r:find>


That looks like it will probably work, but I have another question.
Since the client will be uploading these files and I cannot guarantee
that the logo will always be named as such, how can I do something like
this to find the first item in the list of attachments for the page and
display it as an image:

<r:attachment:image:each limit="1" /> 

?


~Nate

_______________________________________________
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