Gossamer Forum
Home : Products : Gossamer Links : Discussions :

display attached file - syntax problem

Quote Reply
display attached file - syntax problem

I have created a new field in category table, a file field.
In the category.html I have added the link in order for the user to display this attached file that should be a pdf.

I know that I may seem strange or even illogical... It is request from the client :-)

I use the dyanamic pages

So in the category.html I have inserted this code

1 - <a href="http://websitename/links/allegati<%image_name('Allegato',$ID)%>">Attached</a>

2- http://websitename/links/allegati<%image_name('Allegato',$ID)%>">

2 -The second one display the right URL of the file like:

while the first one displays as link
and of course this link is not right

How can I overcome this problem and getr the link to my attach file?

Thanks for your answers
Quote Reply
Re: [vercyb] display attached file - syntax problem In reply to

Have you tried using jump.cgi?


..and this should then prompt them to download the file :)

Hope that helps.


Andy (mod)
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!