Hi,
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:
http://websitename/links/allegati/file.pdf
while the first one displays as link
http://websitename/links/allegati/file.pdf;d=1
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
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:
http://websitename/links/allegati/file.pdf
while the first one displays as link
http://websitename/links/allegati/file.pdf;d=1
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