2007/8/9, Patrick R. Michaud <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Aug 08, 2007 at 04:01:31PM -0500, Ben Stallings wrote:<br>> Hello again. I'm trying to do something that ought to be simple, but<br>> I'm not sure how to go about it...<br>><br>> I'm writing a pagelist template and want to display an image whose name
<br>> matches the name of the listed page if that image exists, and not<br>> display anything at all if the image doesn't exist. But<br>> Attach:{=$Name}.jpg and (:thumb {=$Name}.jpg:) both display an upload
<br>> link if the file doesn't exist.<br><br>Perhaps hide the link using css?<br><br> .fpltemplate .createlinktext { display:none; }<br> .fpltemplate .createlink { display:none; }<br><br>This suppresses the display of all "create link" elements within
<br>the output of a pagelist template.<br><br>We could also see about adding a condition to test for the<br>existence of an attachment.</blockquote><div><br>Dear Patrick, dear community,<br><br>Such a conditional would be useful to me :=)
<br>Kind regards,<br><br>Benoit<br></div></div>