josecarlos_pb Posted February 20, 2007 Posted February 20, 2007 This is only the forum to this cool Contribution: http://www.oscommerce.com/community/contributions,2807/ Quote Jose Carlos
Guest Posted February 23, 2007 Posted February 23, 2007 Can u make it so i can add more then 1 PDF? Quote
noimad1 Posted April 14, 2007 Posted April 14, 2007 nvm, made it myself. Do you mind if I ask how you got it to do mutliple pdf's? Quote
JMB Designs Posted April 26, 2007 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
Guest Posted May 10, 2007 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
teodorp Posted December 2, 2007 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...:)
DrHouse Posted January 12, 2008 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
ejpro Posted January 14, 2008 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 [email protected] 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
simaster99 Posted April 21, 2008 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
El_Heso Posted April 27, 2008 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
simaster99 Posted April 29, 2008 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
chrish123 Posted May 7, 2008 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
armandski Posted May 18, 2008 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
Guest Posted May 19, 2008 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
under_ground Posted June 23, 2008 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
Guest Posted July 10, 2008 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
Guest Posted July 12, 2008 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
NEMROD34 Posted August 3, 2008 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
NEMROD34 Posted August 4, 2008 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
apache510 Posted September 19, 2008 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
apache510 Posted September 19, 2008 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
mmstoned Posted December 24, 2008 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
alman Posted February 12, 2009 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
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.
Note: Your post will require moderator approval before it will be visible.