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?
VirtueMart 1.1.0 - Invoice, Delivery Note, Receipt
-
- Phoca Newbie
- Posts: 3
- Joined: 16 Apr 2008, 18:22
Another thing that i
Another thing that isnt working:
Bill No. Order no. Shipment address, etc. are not displayed in my pdf file.
Any ideas?
Bill No. Order no. Shipment address, etc. are not displayed in my pdf file.
Any ideas?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
You can change the a
You can change the appearance or items which should be printed in html (php) code ... there are no parameters...
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 16 Apr 2008, 18:22
Which file do I have
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?
Do you have an idea, why the 'topics' aren't displayed in my pdf file?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
no idea...
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 ...
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 ...
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 21 Apr 2008, 00:12
wow great article. O
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?
, 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?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Hi, it looks as if y
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 21 Apr 2008, 00:12
thanks for the reply
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/ ?
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/ ?
-
- Phoca Newbie
- Posts: 2
- Joined: 22 Apr 2008, 09:15
Hello Jan,
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
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