Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Display Attachement Name on Pages

Quote Reply
Display Attachement Name on Pages
I added "attached_file" column in links database, and I want to show the NAME of the attachement (means display the name of the file on the harddisk) next to the link in category.html! How do I do that?
I tried putting <%attached_file%> in category.html but did not work, I get a blank instead of the attached file name.
also, I tried creating a global for the attached file name: "attached" which is <%attached_file%> and also did not work...

It seems also, that even if I put a GLOBAL like:
display_attach ... which is: <IMG SRC="<%db_cgi_url%>/jump.cgi?view=File&ID=<%ID%>">
then it is not being replaced in the dynamically generated category page.
e.g. if I put <%display_attach%> on category.html, then I still see the following link: ...cgi-bin/mixes/<%db_cgi_url%>/jump.cgi?view=File&ID=<%ID%>

any hint or help... greatly appreciated.

Last edited by:

Mark2: Nov 15, 2005, 11:38 AM
Subject Author Views Date
Thread Display Attachement Name on Pages Mark2 3974 Nov 15, 2005, 11:06 AM
Thread Re: [Mark2] Display Attachement Name on Pages
Virginia 3881 Nov 15, 2005, 4:00 PM
Thread Re: [Virginia] Display Attachement Name on Pages
Mark2 3817 Nov 18, 2005, 8:13 PM
Thread Re: [Mark2] Display Attachement Name on Pages
Virginia 3801 Nov 21, 2005, 2:21 PM
Thread Re: [Virginia] Display Attachement Name on Pages
Mark2 3812 Nov 21, 2005, 2:37 PM
Post Re: [Mark2] Display Attachement Name on Pages
Virginia 3800 Nov 21, 2005, 4:14 PM
Thread Re: [Virginia] Display Attachement Name on Pages
ryel01 3785 Nov 21, 2005, 6:25 PM
Thread Re: [ryel01] Display Attachement Name on Pages
brewt 3777 Nov 22, 2005, 11:34 AM
Thread Re: [brewt] Display Attachement Name on Pages
ryel01 3767 Nov 22, 2005, 12:05 PM
Thread Re: [ryel01] Display Attachement Name on Pages
brewt 3781 Nov 22, 2005, 12:25 PM
Post Re: [brewt] Display Attachement Name on Pages
ryel01 3749 Nov 22, 2005, 12:33 PM