[Radiant] Condition in Page Attachments extension

2009-08-19 Thread Rafael Carvalho
Hello, someone knows if there are some way to don't render r:attachments:image name=image.png / if there isn't a file named image.png? I want to do it because I need to render all links and image.png attached in children of some page, so I'm using r:chlidren:each ...but some children don't have

[Radiant] Re: Condition in Page Attachments extension

2009-08-19 Thread Rafael Carvalho
I resolved it just adding if page.attachment(name) != nil in tag attachment:image do |tag| -- Rafael Carvalho ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site:

[Radiant] Bug at Radiant Admin pages

2009-08-19 Thread Rafael Carvalho
Hello again, I'm with a bug on my Radiant. Every time that I delete some part of the page, the others parts become inaccessible. Look at theses screen shots: http://www.uploadimagens.com/upload/877d5bb5695ade28353ced515e0ed67c.png

[Radiant] Re: Bug at Radiant Admin pages

2009-08-19 Thread Rafael Carvalho
It was some issue with Tinymce_editor extension. I removed the extension and the page editor works perfect. Just to know.. I'm using radiant 0.8 -- Rafael Carvalho ___ Radiant mailing list Post: Radiant@radiantcms.org Search:

[Radiant] Re: Bug at Radiant Admin pages

2009-08-19 Thread Rafael Carvalho
sorry, *tinymce_filter -- Rafael Carvalho ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Re: Condition in Page Attachments extension

2009-08-19 Thread john muhl
i think the r:if_attachments name=image.png.../r:if_attachments might be what you're looking for. On Wed, Aug 19, 2009 at 3:54 PM, Rafael Carvalhorafaelmcarva...@gmail.com wrote: I resolved it just adding if page.attachment(name) != nil in tag attachment:image do |tag| -- Rafael Carvalho

Re: [Radiant] Re: Condition in Page Attachments extension

2009-08-19 Thread Rafael Carvalho
hmm... i'm starting to use the page attachments now... i didn't know about this tag! i'm shine... ehhe thanks! -- Rafael Carvalho ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site:

Re: [Radiant] Re: Condition in Page Attachments extension

2009-08-19 Thread john muhl
don't forget the available tags link in the page edit interface. open that and type attachment into the search most if not all of page_attachments tags should be documented in there. On Wed, Aug 19, 2009 at 6:36 PM, Rafael Carvalhorafaelmcarva...@gmail.com wrote: hmm... i'm starting to use the