Webmastersite.net
Register Log In

Displaying attachment
How can attachment be displayed at TOP of listing?

Comments on Displaying attachment

nf708181f1
Member

Usergroup: Customer
Joined: Aug 23, 2005

Total Topics: 13
Total Comments: 29
Posted Sep 25, 2005 - 10:44 PM:

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.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 26, 2005 - 7:29 AM:

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.
nf708181f1
Member

Usergroup: Customer
Joined: Aug 23, 2005

Total Topics: 13
Total Comments: 29
Posted Sep 26, 2005 - 7:57 AM:

Thanks for the tip! It enabled me to display the attachment at the top of the listing in just a few minutes.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.