Message Text |
Hi Paul, this code is from my displaylinks.tpl
<!-- BEGIN LINK ATTACHMENTS -->
<a href="download.php?id={LINKID}&amp;amp;attachid={ATTACHID}">{ATTACHFILETITLE}</a> ({ATTACHKB} {LANG_GENERAL_KB}, {ATTACHDOWNLOADS} {LANG_DETAILS_DOWNLOADS})<br>
<IF {ATTACHISIMAGE}>
<a href="link.php?action=detail&amp;amp;amp;id={LINKID}"><img src="thumbnail.php?id={LINKID}&amp;amp;attachid={ATTACHID}"></a>
</IF>
<!-- END LINK
ATTACHMENTS -->
- Is there some sort of conditional which will allow me to not display the ({ATTACHKB} {LANG_GENERAL_KB}, {ATTACHDOWNLOADS} {LANG_DETAILS_DOWNLOADS}) for image filetypes? That is, I don't mind it for .doc files, but I don't want it for .jpg...
- If a user uploads 7 images. I only want to display 3 thumbnails, with a message saying 'more images available...'. I know you can limit the display of attachments by using <!-- BEGIN 3 LINK ATTACHMENTS --> to show just 3 but how to output a message saying 'more..'
Thanks!
|