Developers question

Phoca PDF - creating PDF documents in Joomla! CMS
Techbot
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 13 Sep 2011, 15:05

Developers question

Post by Techbot »

Hi All,
I've been building a system around j1.5 and virtuemart. Now that the system is almost finished I'm focusing on the pdf that is automatically sent after each purchase confirmation.

I was creating the pdfs using a joomla view.pdf.php but it is really limited and the tcpdf library is quite old. The pdfs would be saved to the /images directory using cURL, attached to an email and then deleted.

So I was wondering what would the phoca devs advise?

Should I install phocapdf and try and use the tcpdf library supplied? and maybe the phoca classes and methods, or should I install the official latest release of tcpdf and just access it as demonstrated.

I'm assuming now that no matter what library I use, the view method is not good enough and I should build the pdfs outside of the joomla framework. (I hope this makes sense).
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Developers question

Post by Jan »

Hi, Phoca PDF is used for printing invoices in Virtuemart, so you can test to use this component to print your features too. In fact Phoca PDF is based on TCPDF and fit to Joomla! framework with added many different features.
If you find Phoca extensions useful, please support the project
Post Reply