Page 1 of 1

Include error

Posted: 22 Feb 2011, 14:10
by Malhom
Hye Jan,

I've try to insert your code (https://www.phoca.cz/documents/18-virtue ... eipt-addon) into my old version of phoca and I've got this error;
Plugin: Phoca PDF VirtueMart Helper class not found

what is missing?


And other things:
I would like to know if it’s possible to print a pdf from the backend without opening file because I think that it’s too long to open the pdf and print it each time manualy.
If you know how to do, please tell me.
Something like this maybe into administrator\components\com_virtuemart\classes\ps_order_delivery.php line 449 after if($db->f('is_invoice') == '1') { :

echo '<a href="javascript:window.print('.$pdf_url.'&gen=bill)" target="_blank"><img src="'.$mosConfig_live_site.'/images/M_images/printButton.png" border="0" /></a>';


And is it possible to insert a row into table vm_order_history to have an evidence that invoice has been sent and where to do this ?

Re: Include error

Posted: 24 Feb 2011, 02:30
by Jan
Hi, try to check the installation step by step, seems like some table was not installed (maybe while using Phoca Install component)

Saving the file on server e.g. must be customized in the pdf plugin, so it will not send it to browser but saves it somewhere.

Jan