Page 1 of 5

Thanks for the artic

Posted: 16 Apr 2008, 18:26
by eightball
Thanks for the article, i managed to run it on my page

But how can I adjust the design of the PDF file (language / appearance)?

Can anybody help me?

Another thing that i

Posted: 16 Apr 2008, 20:32
by eightball
Another thing that isnt working:
Bill No. Order no. Shipment address, etc. are not displayed in my pdf file.

Any ideas?

You can change the a

Posted: 16 Apr 2008, 22:14
by Jan
You can change the appearance or items which should be printed in html (php) code ... there are no parameters...

Jan

Which file do I have

Posted: 16 Apr 2008, 23:09
by eightball
Which file do I have to modify (my php knowledge isn't that good...)

Do you have an idea, why the 'topics' aren't displayed in my pdf file?

no idea...

Posted: 17 Apr 2008, 01:19
by Jan
no idea...

these files should be changed:
administrator\components\com_virtuemart\pdf\delivery.pdf.php
administrator\components\com_virtuemart\pdf\phoca.tcpdf.php

but only in case, you know php and you know the behaviour of tcpdf ...

wow great article. O

Posted: 21 Apr 2008, 00:16
by wogand
wow great article. Only problem for me is the making of the pdf. I get the following error:
, TCPDF error: Some data has already been output, can't send PDF file

using joomla 1.5.2 and VM 1.1. RC 3.

Perhaps I have done something wrong?

Hi, it looks as if y

Posted: 21 Apr 2008, 13:59
by Jan
Hi, it looks as if your framework displays something (e.g. error message) before PDF will be created. PDF needs the empty output before creating some document, but if e.g. framework send error message to the output, the PDF will be not created...


Try to change:
administrator\components\com_virtuemart\pdf\delivery.pdf.php
Row 303 + -
FROM:
$pdf->Output( 'delivery', "I" );
TO:
$pdf->Output( 'delivery', "D" );

The PDF should be downloaded instead of displayed in browser, so sometimes it is downloaded with error messages... If it will be downloaded, then you should see it in some text editor ... on the first lines of the PDF file, there will be displayed error messages...

Jan

thanks for the reply

Posted: 21 Apr 2008, 23:42
by wogand
thanks for the reply Jan. However it did not work
I also can't download it with save as, I get index2.html. So I can only left click it and open it in browser.

Is the path : /administrator\components\com_virtuemart\pdf correct?
shouldnt it be the pdf folder in :
/administrator/components/com_virtuemart/classes/pdf/ ?

Jan

Posted: 22 Apr 2008, 09:15
by bberus
Jan
Jan

Hello Jan,

Posted: 22 Apr 2008, 09:22
by bberus
Hello Jan,

Are you able to make the custom feature, that once we mark an order as shipped the invoice gets automatically generated and it is sent to the customer by email. Please contact me to bostjan.berus@gmail.com .I do not find your email.

Thank you,
Bostjan Berus