The link works fine for me, problem is that your PDF files is not where you say it is. Include it into design > additional files and then upload and then try.
Announcement
Collapse
No announcement yet.
How do I attach pdf file that browsers can download?
Collapse
X
-
I have the file in my "site 1" folder where all my web images etc are stored. I have refreshed the website but the link does not seem to work still. Should I start from scratch i.e. delete the file from the folder then re-add it and re-do the code - could this make a difference? Or should I create a new folder within site 1? Many thanks for your help.
Comment
-
Then you must have the name of the PDF file wrong, either lower case for a capital or something like that. It must be exactly as you have coded it, it's almost certainly not and that is the problem.
TIP: if you cannot directly access the file in your browser by typing in the filename within the acatalog folder, then no link ever will either.
Comment
-
All i can say Hannah and believe me as a coder i speak with much experience in this area is that when you have checked things so many times, all the complicated stuff will be perfect. It is always the simple stuff that is the problem. The longer a problem exists, the more blindingly obvious the solution will be, it's just how humans work i think, by defaulting to it must be the difficult stuff.
A great tip when checking code is to read it upside down or from right to left, it paints a new picture in your head and you can sometimes not gloss over something obvious. Although if you see w and W i think your brain can still skip it. So the solution is to always lower case or always camel case for stuff like that.
Glad you're sorted anyway.
Comment
Comment