Webmastersite.net
Register Log In

search.tpl does not display attached fil
search.tpl does not display attached file

Comments on search.tpl does not display attached fil

nf708181f1
Member

Usergroup: Customer
Joined: Aug 23, 2005

Total Topics: 13
Total Comments: 29
Posted Sep 24, 2005 - 1:46 PM:

search.tpl does not display the only attached file to a link. For an example, go to http://guide.airman.com. For Search, enter airman.com and then click on the Search button. Note that the appropriate file name of airman110.jpg is displayed. By the way, the file name as stored by WSN Links contains random characters as specified in the Admin Panel. However, the file is not displayed. Apparently, the code shown below is not working:

<IF {LINKFILENAME}><img src="https://www.webmastersite.net/forums/download.php?id={LINKID}"></IF>

For more information, the search.tpl template is attached.

Attached Files:
nf708181f1
Member

Usergroup: Customer
Joined: Aug 23, 2005

Total Topics: 13
Total Comments: 29
Posted Sep 24, 2005 - 1:53 PM:

Some crucial text in my message has apparently been altered by WSN Forum. The line of code that is apparently not working should be reviewed in the file attached to my previous message. The file has also been attached to this message for your convenience.

Attached Files:
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 25, 2005 - 12:36 PM:

Where did you get the idea to use that HTML? Using an old 3.1x template I take it? Copy the way attachments are displayed in the 'show links in category' template.
nf708181f1
Member

Usergroup: Customer
Joined: Aug 23, 2005

Total Topics: 13
Total Comments: 29
Posted Sep 25, 2005 - 12:58 PM:

The HTML was found in the manual for WSN Links. Now, I will try your suggestion.

nf708181f1
Member

Usergroup: Customer
Joined: Aug 23, 2005

Total Topics: 13
Total Comments: 29
Posted Sep 25, 2005 - 9:22 PM:

Accessing the image (i.e. downloading) required turning off the catalog tree. Displaying the image still does not work. This issue does not seem to be a bug in WSN Links, but rather, my lack of knowledge of the product.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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