uniquexme Posted February 27, 2009 Posted February 27, 2009 would like to attach a instruction manual for my product in pdf format. may i ask whats the code that i might be needing so that they can download straight from my website? thanks.
germ Posted February 27, 2009 Posted February 27, 2009 Put the PDF in your store download folder and the link is as simple as: <a target="_blank" href="download/file.pdf">Click to download</a> However, if they click the link it will open in the browser. There is a "Save" button there. The only ways I know to make it download and not open in the browser are to make it a zip file (not pdf) or put instructions by the link telling them to right click on the link and choose "Save target as". If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
uniquexme Posted March 10, 2009 Author Posted March 10, 2009 oh yah, just now i was trying to upload my sitemap to the google webmaster, but then it says an error on this particular link. so i click on it and see. indeed, it requested for username and password. i try to go and download the file, and the only way is to right click >save link as just like u said.
germ Posted March 10, 2009 Posted March 10, 2009 I didn't know you had the download folder password protected. If you don't want people to need a password to download it, put it in your catalog folder and the link becomes: <a target="_blank" href="file.pdf">Click to download</a> They'll still have to <right click> and "Save as", but they won't need a PW. It's all up to you. ;) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.