How can the attachment be displayed at the top of the listing (i.e. before the link title)? When attempting to do so, text substitution does not occur in the HTML. Refer to the example below:
<!-- BEGIN LINK ATTACHMENTS --> <img src="download.php?id={LINKID}&attachid={ATTACHID}" alt="image"></a> <!-- END LINK ATTACHMENTS -->
The attachment displays just fine when it appears at the bottom of the listing.
For an example of displaying the attachment at the bottom of the listing, go to http://guide.airman.com, enter airman.com in the Search box, and click on the Search button.
You're probably putting it outside the scope of the link. If it's not within the <!-- BEGIN TYPE --> there's no way to know which link you want to show attachments from.
Comments on Displaying attachment
Member
Usergroup: Customer
Joined: Aug 23, 2005
Total Topics: 13
Total Comments: 29
How can the attachment be displayed at the top of the listing (i.e. before the link title)? When attempting to do so, text substitution does not occur in the HTML. Refer to the example below:
<!-- BEGIN LINK ATTACHMENTS -->
<img src="download.php?id={LINKID}&attachid={ATTACHID}" alt="image"></a>
<!-- END LINK ATTACHMENTS -->
The attachment displays just fine when it appears at the bottom of the listing.
For an example of displaying the attachment at the bottom of the listing, go to http://guide.airman.com, enter airman.com in the Search box, and click on the Search button.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You're probably putting it outside the scope of the link. If it's not within the <!-- BEGIN TYPE --> there's no way to know which link you want to show attachments from.
Member
Usergroup: Customer
Joined: Aug 23, 2005
Total Topics: 13
Total Comments: 29
Thanks for the tip! It enabled me to display the attachment at the top of the listing in just a few minutes.