josecarlos_pb Posted February 20, 2007 Share Posted February 20, 2007 This is only the forum to this cool Contribution: http://www.oscommerce.com/community/contributions,2807/ Quote Jose Carlos Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2007 Share Posted February 23, 2007 Can u make it so i can add more then 1 PDF? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2007 Share Posted February 23, 2007 nvm, made it myself. Quote Link to comment Share on other sites More sharing options...
noimad1 Posted April 14, 2007 Share Posted April 14, 2007 nvm, made it myself. Â Do you mind if I ask how you got it to do mutliple pdf's? Quote Link to comment Share on other sites More sharing options...
JMB Designs Posted April 26, 2007 Share Posted April 26, 2007 This is only the forum to this cool Contribution:http://www.oscommerce.com/community/contributions,2807/ Â I love this contribution. I tried to add code to change the target to "_blank" when the PDF link is clicked, and I think I added wrong. Where and how should I chaneg the code to make the PDF's open in a new browser window? Â Thanks! Quote Link to comment Share on other sites More sharing options...
valerka1 Posted April 26, 2007 Share Posted April 26, 2007 Thanks! Quote Link to comment Share on other sites More sharing options...
Guest Posted May 10, 2007 Share Posted May 10, 2007 I've installed it succesfuly.  Is there a feature to delete pdf file from the admin panel? I could not get it done.  Perhaps somebody can help with this?  thank  TeamWSC Quote Link to comment Share on other sites More sharing options...
teodorp Posted December 2, 2007 Share Posted December 2, 2007 (edited) I have limit to upload files to 2MB, how I can increas this limit? Edited December 2, 2007 by teodorp Quote I have to know...:) Link to comment Share on other sites More sharing options...
DrHouse Posted January 12, 2008 Share Posted January 12, 2008 (edited) I have limit to upload files to 2MB, how I can increas this limit? I think this limit is defined in your PHP installation and not in osCommerce. As a simple workaround, you can upload a smaller file (< 2MB) and then replace this file with the other file via FTP-Client (all files will be copied in the /images/ folder). Edited January 12, 2008 by DrHouse Quote Link to comment Share on other sites More sharing options...
ejpro Posted January 14, 2008 Share Posted January 14, 2008 Hi DrHouse, I am new to OSC but have been working on the new website. I have tried to install both 1.0 and 1.5 without much success. Would you mind explaining in 1.0 where it says, "STEP 1 --> IMPORT SQL DATABASE FILE ################################### Firstly, Open /PHPMyAdmin --> (your_osCommerce_database) --> SQL --> Browse file --> PDF_UPLOAD.sql --> [OK] "  I have uploaded the file to the products_ID under products_image table in my database, it there. I still do not have or cannot find the PDF_UPLOAD>sql is it part of the product_ID table?  I have also uploaded all of the php files exactly where that are supposed to be. In the product detail page the window and browse button are there but the files will not upload or display? Do you have any suggestions. EJPRO ejpro@virginia-ir.com    I think this limit is defined in your PHP installation and not in osCommerce. As a simple workaround, you can upload a smaller file (< 2MB) and then replace this file with the other file via FTP-Client (all files will be copied in the /images/ folder). Quote Link to comment Share on other sites More sharing options...
simaster99 Posted April 21, 2008 Share Posted April 21, 2008 Hi, Â how do i convert the text, View PDF Brochure to a button called viewpdf.jpg in my catalog/image folder? Â many thanks Quote Link to comment Share on other sites More sharing options...
El_Heso Posted April 27, 2008 Share Posted April 27, 2008 Hi! Someone managed to implement this contrib in osCommerce Online Merchant v2.2 RC2a  Someone have a qlue how to do so?  Regards Tony Quote Link to comment Share on other sites More sharing options...
simaster99 Posted April 29, 2008 Share Posted April 29, 2008 Hi!Someone managed to implement this contrib in osCommerce Online Merchant v2.2 RC2a  Someone have a qlue how to do so?  Regards Tony  Its installed okay, yes its on a ms2.2 shop, but the link to the pdf is in text....it can be changed to a jpeg though! Quote Link to comment Share on other sites More sharing options...
chrish123 Posted May 7, 2008 Share Posted May 7, 2008 Its installed okay, yes its on a ms2.2 shop, but the link to the pdf is in text....it can be changed to a jpeg though! Â Hi, I have updated this contribution today, as I found this very useful at work! Â If you have v2.00 : To have just a jpeg/gif button etc. showing instead of just text find in: /includes/languages/english/product_info.php : Â define('TEXT_CLICK_TO_PDFUPLOAD', '<IMG STYLE="border: none;" SRC="images/pdf_1.gif" ALT="PDF Datasheet"><font color="#ff0000">--> View PDF Datasheet</font><BR><BR>'); define('TEXT_CLICK_TO_PDFUPLOAD2', ''); define('TEXT_CLICK_TO_FILEUPLOAD', '<font color="#ff0000">-->View Additional Datasheet</font><BR><BR>'); define('TEXT_CLICK_TO_FILEUPLOAD2', ''); Â change to: Â define('TEXT_CLICK_TO_PDFUPLOAD', '<IMG STYLE="border: none;" SRC="images/your_button1.gif" ALT="PDF Datasheet"><BR><BR>'); define('TEXT_CLICK_TO_PDFUPLOAD2', ''); define('TEXT_CLICK_TO_FILEUPLOAD', '<IMG STYLE="border: none;" SRC="images/your_button2.gif" ALT="PDF Datasheet 2"><BR><BR>'); define('TEXT_CLICK_TO_FILEUPLOAD2', ''); Â Obviously change the yourbutton1.gif to whatever you like! Â Hope this helps! Â Kind regards Chris Quote Link to comment Share on other sites More sharing options...
armandski Posted May 18, 2008 Share Posted May 18, 2008 I've installed it succesfuly. Is there a feature to delete pdf file from the admin panel? I could not get it done.  Perhaps somebody can help me with this?  thank  TeamWSC  Can someone tell me how i can delete the pdf / excel with the admin? Uploading works super but there aren't posibilities to delete the pdf. Even if you choose to upload a new pdf in the same product he didn't connect with the new pdf but with the first uploaded one.  Sorry for my bad english. This Dutch boy is learning..............................  Greetings from Holland Armand Quote Link to comment Share on other sites More sharing options...
Guest Posted May 19, 2008 Share Posted May 19, 2008 I am having an issue with the pdf icon showing on every product regardless of whether it has a file associated to it or not. Any ideas for a fix? Quote Link to comment Share on other sites More sharing options...
under_ground Posted June 23, 2008 Share Posted June 23, 2008 Hi there, I implement the code, but If I dont load any file as a pdf or any other, anyway in the page of product_info show me the link to download the file, even when I didnt load any file What can happend ?? Quote Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2008 Share Posted July 10, 2008 I installed this but it never uploads any files, any ideas? Â Ive checked the install 3 times, I cant see anything obvious. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2008 Share Posted July 12, 2008 I installed this but it never uploads any files, any ideas? Ive checked the install 3 times, I cant see anything obvious. Anyone? Quote Link to comment Share on other sites More sharing options...
NEMROD34 Posted August 3, 2008 Share Posted August 3, 2008 I have : http://labourseauxlivres.net/cnegu/DIR_WS_MANUALSHoldUpPlanetaire.pdf  With: 2:) ##### open catalog/includes/configure.php  find define('DIR_WS_IMAGES', 'images/');  ##----> add under neath  define('DIR_WS_MANUALS', 'manuals/'); define('DIR_WS_CATALOG_MANUALS', DIR_WS_CATALOG . 'manuals/');  3:) ### catalog/admin/includes/configure.php  find define('DIR_WS_IMAGES', 'images/');   ##----> add underneath  define('DIR_WS_MANUALS', 'manuals/'); define('DIR_WS_CATALOG_MANUALS', DIR_WS_CATALOG . 'manuals/');  ## same file find:  define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');  ##----> add underneath   define('DIR_FS_CATALOG_MANUALS', DIR_FS_CATALOG . 'manuals/'); Quote Link to comment Share on other sites More sharing options...
NEMROD34 Posted August 4, 2008 Share Posted August 4, 2008 Ok solved by putting it in product_info.php: <font size="2"><?php if ($product_info['products_pdfupload'] == '') { echo '<a href="' . tep_href_link('/manuals/'. $product_info['products_pdfupload']) . '"target="_blank">' . TEXT_CLICK_TO_PDFUPLOAD2 . '</a>'; } else { echo '<a href="' . tep_href_link('/manuals/' . $product_info['products_pdfupload']) . '"target="_blank">' . TEXT_CLICK_TO_PDFUPLOAD . '</a>'; } echo '<br>'; if ($product_info['products_fileupload'] == '') { echo '<a href="' . tep_href_link('/manuals/' . $product_info['products_fileupload']) . '"target="_blank">' . TEXT_CLICK_TO_FILEUPLOAD2 . '</a>'; } else { echo '<a href="' . tep_href_link('/manuals/' . $product_info['products_fileupload']) . '"target="_blank">' . TEXT_CLICK_TO_FILEUPLOAD . '</a>'; } ?></font> Quote Link to comment Share on other sites More sharing options...
apache510 Posted September 19, 2008 Share Posted September 19, 2008 In the installation instructions, steps 4 and on I can not find the lines that they want me to edit in /admin/categories.php. I am using osCommerce Online Merchant v2.2 RC2a. Can anyone help??? Quote Link to comment Share on other sites More sharing options...
apache510 Posted September 19, 2008 Share Posted September 19, 2008 Hi!Someone managed to implement this contrib in osCommerce Online Merchant v2.2 RC2a  Someone have a qlue how to do so?  Regards Tony   Did you ever get it to work in v2.2 RC2a Quote Link to comment Share on other sites More sharing options...
mmstoned Posted December 24, 2008 Share Posted December 24, 2008 Good evening! Â Is there a way to move the links for the pdf and other files outside of the box that contains the "reviews" and "add to cart" buttons? Â I'm able to upload, link and delte files accordingly but would just like to move the location of the link. Â Thanks in advance for any and all advice! Â Jeff Quote Link to comment Share on other sites More sharing options...
alman Posted February 12, 2009 Share Posted February 12, 2009 has any1 tried to make it possible to place pdf's in a sub directory so it is easier to organize the files for manufacturer or category? I cant seem to get it to show I can't work it out! work in progress any help would be great Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.