bernat Posted June 21, 2010 Share Posted June 21, 2010 Hi, this is my first request,thanks for this forum!I upload a PDF file from Catalog > Attachments, and I want to link it in a page generated from the CMS (Tools > CMS)I see when I upload a file it uploads to "downloads" folder, but with a very rare name and without extension .pdf.If I try to call like http://www.domainname.com/downloads/archivename it go to error page and the same result if a + the extension .pdf like http://www.domainname.com/downloads/archivename.pdfCan any charitable soul help me?Thanks so much! Link to comment Share on other sites More sharing options...
rocky Posted June 22, 2010 Share Posted June 22, 2010 The "Attachments" feature was designed to add files to product pages, not CMS pages. You can, however, manually put a link in a CMS page like the following: <a href="/attachment.php?id_attachment=1">PDF Change 1 to the ID of the attachment you want to download. Link to comment Share on other sites More sharing options...
bernat Posted June 22, 2010 Author Share Posted June 22, 2010 Hi Moderator, this is a great solution! thanks a lot, it works so fine!!and thanks for fast answer!!! Link to comment Share on other sites More sharing options...
Evgeny Posted July 31, 2010 Share Posted July 31, 2010 Nice solution. But still would like to ask my silly question. How do I get attachment to be disaplayed in product's details? Where should I see it? I add an attachment in general section Attachments, and then assign it to a particular product in its "properties". But when I open this product I can't see any link to the file attached... Am I missing some additional settings/modules? Using version 1.2.2.0. Thanks in advance. Link to comment Share on other sites More sharing options...
rocky Posted July 31, 2010 Share Posted July 31, 2010 An "Attachments" tab should appear at the bottom of the product page. When you click it, the links will appear. Link to comment Share on other sites More sharing options...
Evgeny Posted August 1, 2010 Share Posted August 1, 2010 something's wrong here in my instalation. This tab simply won't show up. Thanks for your help Link to comment Share on other sites More sharing options...
rocky Posted August 1, 2010 Share Posted August 1, 2010 Perhaps you are using an old theme that was made before the attachments feature was added? Link to comment Share on other sites More sharing options...
Evgeny Posted August 1, 2010 Share Posted August 1, 2010 I use 25orange, I guess you are right, though it is made for ver. 1.2, which I'm using. I think I better use your solution instead of hours of debuging.. Thanks for your help. Link to comment Share on other sites More sharing options...
jdmorrisn Posted October 11, 2010 Share Posted October 11, 2010 I would like to do the same thing - add a pdf file to a cms page. I understand Rocky's instruction - but where can I find the cms via ftp? I have looked through everywhere but cannot find any cms files that relate to my pages. Where can I find these? Link to comment Share on other sites More sharing options...
jdmorrisn Posted October 11, 2010 Share Posted October 11, 2010 Ok, figured out that I can use the html code in back office of the cms page I want to edit - and paste this code in here. It works.But is it possible to have the pdf logo like you see on most other web sites where there is the 'pdf' symbol rather than just text? Link to comment Share on other sites More sharing options...
motoxflyr Posted November 23, 2011 Share Posted November 23, 2011 Digging this one up- This is still not clicking for me - I want to link to attachments from a CMS page, but will need steps for a newbie. In Rocky's solution, step by step, how/where do I add that code? jdmorrisn pastes the code in the CMS BO...but where? Thanks for any help - ETA - did what I need to do by uploading as an Attachment, then simply pasting that link in the CMS page editor. Link to comment Share on other sites More sharing options...
kenkomuri Posted July 16, 2013 Share Posted July 16, 2013 The "Attachments" feature was designed to add files to product pages, not CMS pages. You can, however, manually put a link in a CMS page like the following: <a href="/attachment.php?id_attachment=1">PDF Change 1 to the ID of the attachment you want to download. It does not work. It returns me to the home page. Link to comment Share on other sites More sharing options...
Recommended Posts