peteravu Posted June 25, 2004 Share Posted June 25, 2004 Hey, Sorry but Ive been flat out. I will upload the code sometime tonight If I can, and I will explain what ive done. Cheers, Chris great! thanks alot for your help. Than I will be near my goal on my site. Looking forward to tonight. Cheers Peter Quote Thanks to all that contributed to separate_price_per_customers_4.2.2_for_2.3.1, Add Multiple Products with plus/minus buttons, One Page Checkout for 2.3.1, Multi Attribute V2, Login Box Club osCommerce Shipping Date Chooser for 2.3.1, Quickly Update Product Stock 3.8.5 Español and order number in email subject Forum, Thanks Designing New Themes the Easy Way, how-to-set-backgrounds. my contributions Add Multiple Product In Product Listing 2.3.1 v.1.0 and Multiple Attribute entry boxes in product info page v1.0 for 2.3.1 Link to comment Share on other sites More sharing options...
detsouvalas Posted June 25, 2004 Author Share Posted June 25, 2004 Dracula, I do not have the normal oscommerce setup, I have os2Max. Maybe that's the answer to the problems! Have you checked the database structure and if the database fileds do the same job as in the osC2.2MS2?? I will be very pleased to add the romanian translation to the script! Quote Antonios Link to comment Share on other sites More sharing options...
dracula Posted June 28, 2004 Share Posted June 28, 2004 nope everything works fine even with os2max. stupid me loaded the sql script to the test database :lol: I still don't understand why I can't create the catalog on server A and why it works on server B with the same database ... but I will use server B for creating catalogs since I don't want to block the production server. I will work the next days on the translation and send you the files. Quote Link to comment Share on other sites More sharing options...
peteravu Posted June 28, 2004 Share Posted June 28, 2004 (edited) Hi I try to add some info from the database to PDF Catalog v.1.5, but I have problem to get them on the same line. What I like to do is: Masseur ca. 16.50 cm High, ca. 14.00 cm Long and ca. 2.00 cm Width Where 16.50, 14.00 and 2.00 is from the date base ? if(SHOW_DESCRIPTION)? { ? if(strlen($data_array[6])) ? { ? ? $this->Cell($data_array[0]+3,5,"",0,0); ? ? $this->MultiCell(180-$data_array[0],5,$data_array[6],0,'L'); ? ? $this->cell(25,5,'? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? H?jde: '.$data_array[13],0,'L'); ? $this->cell(25,5,'? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Cm.? L?ngde: '.$data_array[14],0,'L'); ? $this->cell(25,5,'? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Cm.? Brede: '.$data_array[15],0,'L'); ? $this->cell(25,5,'? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Cm. ',0,'L'); ? } ? } But there is problems with the spacing it look like this: Masseur ca. 16.50 cm High, ca. 140.00 cm Long and ca. 2.00 cm Width no like this: Masseur ca. 16.50 cm High, ca. 140.00 cm Long and ca. 2.00 cm Width are there a better way? where you can have more $data_array on same line? Edited June 28, 2004 by peteravu Quote Thanks to all that contributed to separate_price_per_customers_4.2.2_for_2.3.1, Add Multiple Products with plus/minus buttons, One Page Checkout for 2.3.1, Multi Attribute V2, Login Box Club osCommerce Shipping Date Chooser for 2.3.1, Quickly Update Product Stock 3.8.5 Español and order number in email subject Forum, Thanks Designing New Themes the Easy Way, how-to-set-backgrounds. my contributions Add Multiple Product In Product Listing 2.3.1 v.1.0 and Multiple Attribute entry boxes in product info page v1.0 for 2.3.1 Link to comment Share on other sites More sharing options...
peteravu Posted June 29, 2004 Share Posted June 29, 2004 ok I find out, now like this: if(SHOW_DESCRIPTION) { if(strlen($data_array[6])) { $this->Cell($data_array[0]+3,5,"",0,0); $this->MultiCell(180-$data_array[0],5,$data_array[6],0,'L'); $this->Cell($data_array[0]+3,5,"",0,0); $this->cell(155,5,'M?l: H?jde: ' . $data_array[13] . ' Cm. L?ngde: ' . $data_array[14] . ' Cm. Brede: ' . $data_array[15] . ' Cm.',0,'R'); } } Now I have problem with long descriptions go on a new page only with only 2 or 3 lines instead of follow the next item on an new page. Quote Thanks to all that contributed to separate_price_per_customers_4.2.2_for_2.3.1, Add Multiple Products with plus/minus buttons, One Page Checkout for 2.3.1, Multi Attribute V2, Login Box Club osCommerce Shipping Date Chooser for 2.3.1, Quickly Update Product Stock 3.8.5 Español and order number in email subject Forum, Thanks Designing New Themes the Easy Way, how-to-set-backgrounds. my contributions Add Multiple Product In Product Listing 2.3.1 v.1.0 and Multiple Attribute entry boxes in product info page v1.0 for 2.3.1 Link to comment Share on other sites More sharing options...
peteravu Posted June 29, 2004 Share Posted June 29, 2004 anybody know how to do this? serena Dear, thanks for your pdf catalog's contribute. I've one question for you. Is possible add to end of catalog also option values (order by categories)? Example: --+------------------------------------+----------------- CATEGORIE a --+------------------------------------+----------------- | PRODUCT NAME x PRICE --+------------------------------------+----------------- 1 Name Option 1 + 5,00 $ --+------------------------------------+----------- 2 Name Option 2 + 12,00 $ --+------------------------------------+----------- 3 Name Option 3 + 7,00 $ --+------------------------------------+----------- | PRODUCT NAME y PRICE --+------------------------------------+----------- 1 Name Option 1 + 3,00 $ --+------------------------------------+----------- 2 Name Option 2 + 56,00 $ --+------------------------------------+----------- 3 Name Option 3 + 32,00 $ --+------------------------------------+----------- ecc. --+------------------------------------+----------- --+------------------------------------+----------- CATEGORIE b --+------------------------------------+----------- | PRODUCT NAME k PRICE --+------------------------------------+----------- 1 Name Option 1 + 3,00 $ --+------------------------------------+----------- 2 Name Option 2 + 56,00 $ --+------------------------------------+----------- 3 Name Option 3 + 32,00 $ --+------------------------------------+----------- ecc. --+------------------------------------+----------- Thanks. Quote Thanks to all that contributed to separate_price_per_customers_4.2.2_for_2.3.1, Add Multiple Products with plus/minus buttons, One Page Checkout for 2.3.1, Multi Attribute V2, Login Box Club osCommerce Shipping Date Chooser for 2.3.1, Quickly Update Product Stock 3.8.5 Español and order number in email subject Forum, Thanks Designing New Themes the Easy Way, how-to-set-backgrounds. my contributions Add Multiple Product In Product Listing 2.3.1 v.1.0 and Multiple Attribute entry boxes in product info page v1.0 for 2.3.1 Link to comment Share on other sites More sharing options...
peteravu Posted June 29, 2004 Share Posted June 29, 2004 Please take a look on my pdf file (only 102k) my pdf fille 1. Why do I get 119 pages without image and only 64 with image? 2. Why do 1 product split up in 2 pages, with out the next product on the same page? Quote Thanks to all that contributed to separate_price_per_customers_4.2.2_for_2.3.1, Add Multiple Products with plus/minus buttons, One Page Checkout for 2.3.1, Multi Attribute V2, Login Box Club osCommerce Shipping Date Chooser for 2.3.1, Quickly Update Product Stock 3.8.5 Español and order number in email subject Forum, Thanks Designing New Themes the Easy Way, how-to-set-backgrounds. my contributions Add Multiple Product In Product Listing 2.3.1 v.1.0 and Multiple Attribute entry boxes in product info page v1.0 for 2.3.1 Link to comment Share on other sites More sharing options...
detsouvalas Posted June 30, 2004 Author Share Posted June 30, 2004 Hi! I just returned from a business trip, please give me some time to work on the questions! Antonios Quote Antonios Link to comment Share on other sites More sharing options...
peteravu Posted June 30, 2004 Share Posted June 30, 2004 ok I worked it out so now only 47 page now only need the Attributes but here I don't have any ideer how to add them Quote Thanks to all that contributed to separate_price_per_customers_4.2.2_for_2.3.1, Add Multiple Products with plus/minus buttons, One Page Checkout for 2.3.1, Multi Attribute V2, Login Box Club osCommerce Shipping Date Chooser for 2.3.1, Quickly Update Product Stock 3.8.5 Español and order number in email subject Forum, Thanks Designing New Themes the Easy Way, how-to-set-backgrounds. my contributions Add Multiple Product In Product Listing 2.3.1 v.1.0 and Multiple Attribute entry boxes in product info page v1.0 for 2.3.1 Link to comment Share on other sites More sharing options...
ema Posted July 5, 2004 Share Posted July 5, 2004 Hello, I was tried the script in a local server and it worked well... So i tried to install in ther IPS but it give a error : FPDF error: Unsupported image file type: bmp File : /home/inforcim/public_html/images/bundlehp.bmp I delete all bmp images but i get the error in the same. Please, can you help me ? Best regards Ema Ferreira Quote Link to comment Share on other sites More sharing options...
Guest Posted July 5, 2004 Share Posted July 5, 2004 (edited) I'm no expert, but from what the error message is saying perhaps you should be using jpeg or gif files. Have a look at the php file that is referencing the error message and see where it is calling the bmp image, make a copy first and then try editing to use the correct one. Edited July 5, 2004 by noclue2 Quote Link to comment Share on other sites More sharing options...
detsouvalas Posted July 5, 2004 Author Share Posted July 5, 2004 FPDF error: Unsupported image file type: bmpFile : /home/inforcim/public_html/images/bundlehp.bmp What version of the script are you using?? In v.1.6 beta, there shouldn't be such a problem because it replaces (or at least, I should do so in theory!!) unknown/unsupported file formats with a dummy image! Quote Antonios Link to comment Share on other sites More sharing options...
detsouvalas Posted July 5, 2004 Author Share Posted July 5, 2004 peteravu, ok I worked it out so now only 47 page How? Quote Antonios Link to comment Share on other sites More sharing options...
peteravu Posted July 6, 2004 Share Posted July 6, 2004 ok I worked it out so now only 47 pageHow? I had change $h=5*$totallines."<br>"; to $h=0*$totallines."<br>"; that give more items pr page but also more page with only 1 or 2 lines so now I use $h=3*$totallines."<br>"; still like to reduce the empty line space to reduce the number of pages. Like the empty line under the description, the space under the category and specially the long space after the last item. And still like to add the attributes if anybody can help! Quote Thanks to all that contributed to separate_price_per_customers_4.2.2_for_2.3.1, Add Multiple Products with plus/minus buttons, One Page Checkout for 2.3.1, Multi Attribute V2, Login Box Club osCommerce Shipping Date Chooser for 2.3.1, Quickly Update Product Stock 3.8.5 Español and order number in email subject Forum, Thanks Designing New Themes the Easy Way, how-to-set-backgrounds. my contributions Add Multiple Product In Product Listing 2.3.1 v.1.0 and Multiple Attribute entry boxes in product info page v1.0 for 2.3.1 Link to comment Share on other sites More sharing options...
detsouvalas Posted July 7, 2004 Author Share Posted July 7, 2004 peteravu, And still like to add the attributes if anybody can help! Check if that is what you are looking for ... if yes, it's not perfect but should be a good working base! Quote Antonios Link to comment Share on other sites More sharing options...
higgalls Posted July 7, 2004 Share Posted July 7, 2004 Hey, I asked about this before, but I didnt get a reply, so here it is again. Firstly, on my first lot of products (products are contained in the subcategory), it will not print the main category label. i.e. it displays '-->sub category' instead of 'main category --> sub category'. Why is that happening? I cannot seem to figure it out. This was actually happening before any modifications were done. For everyother main category and subcategory it is working fine - the error is only for the first main category. Also, I want to know how to display the WHOLE categories path to the product instead of the current category and its parent category. My categories table is a maximum of 3 levels. If you can help me then it would be greatly appreciated. Cheers, Chris :) Quote Link to comment Share on other sites More sharing options...
detsouvalas Posted July 7, 2004 Author Share Posted July 7, 2004 Hi! I will try to address the '-->sub category' problem but for the rest, you are on your own! :-) I think that to do what you are asking for needs redesigning the whole pdf-creating script and (unfortunately for you) I don't have the necessary time to do it ... it will be done in the future, because the code needs some clean-up, but I don't know when! Sorry! Quote Antonios Link to comment Share on other sites More sharing options...
Guest Posted July 8, 2004 Share Posted July 8, 2004 Still cant get 1.6 to work, mmmm, posted errors in other thread no resolution yet to these little errors stopping 1.6 from working. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 8, 2004 Share Posted July 8, 2004 I admin header: Error: PDF directory does not exist. Please set this in Configuration --> PDF Catalog. Error: PDF Template file does not exist. Please set this in Configuration --> PDF Catalog or check the installation of PDF Catalog Add-on. Admin centre: PDF directory: /var/www/html/retail/DIR_WS_PDF_DIRECTORY Quote Link to comment Share on other sites More sharing options...
detsouvalas Posted July 8, 2004 Author Share Posted July 8, 2004 Admin centre: PDF directory: /var/www/html/retail/DIR_WS_PDF_DIRECTORY Where does this path comes from?? Quote Antonios Link to comment Share on other sites More sharing options...
Guest Posted July 8, 2004 Share Posted July 8, 2004 admin/tools/generate catalog(s) on click I get this page up admin/pdf_catalog.php but I get them errors up also. Quote Link to comment Share on other sites More sharing options...
detsouvalas Posted July 11, 2004 Author Share Posted July 11, 2004 Hi! After some hours of checking and coding, here is version 1.6 alpha of the PDF catalog script ... only a few steps away from the official release, which will be posted in the contributions section. The database issue should be OK now, there is a database installation script, the error checking thing should work now correctly (j0ker, please try the new version and tell me!), now also checking for not supported file types. Until the final release, I will work on the template files and on some language files, the administration part of the script should be fine now! Get it here! Your comments are expected!! Regards, Antonios Quote Antonios Link to comment Share on other sites More sharing options...
jogoto Posted August 5, 2004 Share Posted August 5, 2004 A few questions about the new version 1.6: Is it right, that in the admin I can only configure 3 things and the rest I have to do in the templates? Or where ist the possibility to change the looking of the pdf like in 1.5.1 (show manufacture, ...)? Where can I configure that I do not want .zip files? They do not work on my server: Abort pclzip.lib.php : Missing zlib extensions After this error and going back to /admin/pdf_catalog.php I can see a new createt pdf. I can also download it from the admin. In the catalog area I see this: Download PDF CatalogYou can download a PDF version of our entire catalog! (0.00 Mb) palmerimport_2.zip (0.00 Mb) No pdf and the .zip file is not working. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 5, 2004 Share Posted August 5, 2004 I get this problem also I am waiting for the new version as this is alpha I am using. Quote Link to comment Share on other sites More sharing options...
jogoto Posted August 10, 2004 Share Posted August 10, 2004 Sugestion for multi-language supported Adobe link, based on version 1.5.1: in pdf_catalogue_info.php replace this code <td class="main" align="center"><?php echo '<a href="http://www.adobe.com/products/acrobat/readstep2.html" target="_blank">'; echo tep_image(DIR_WS_IMAGES . 'getacro.gif'); ?></a></td> with this <td class="main" align="left"><?php echo TEXT_LINK; echo tep_image(DIR_WS_IMAGES . 'getacro.gif'); ?></td> and in the language file add this define('TEXT_LINK', '<a href="http://www.adobe.de/products/acrobat/readstep2.html?c=de" target="_blank">'); This is a example for the german Adobe link. For other languages visit the Adobe site and copy and replace the link for each language you use. Now your customers can see the Adobe site in their language. Maybe a good thing to be integrated in a new version. 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.