Re: Need advise on pdf generation with FPDF

2007-02-12 Thread jinhr
Samuel, I have just read your bakery articl PDF helper using pdf php http:// bakery.cakephp.org/articles/view/218 But I failed to run your codes: -- begin error message -- Notice: Undefined property: fpdfHelper::$helpers in C:\MyDocuments

Re: Need advise on pdf generation with FPDF

2007-02-12 Thread jinhr
Sam, I eventually makes your sample codes runs according to http:// bakery.cakephp.org/articles/view/225 Thanks!! But I have to make following changes on your codes before it runs, maybe because that CakePHP keeps changing. file views/helpers/fpdf.php 1. vendors(...); is

Re: Need advise on pdf generation with FPDF

2007-02-12 Thread Samuel DeVore
I'll tune up the article, thanks for the feedback. I have a feeling I always type vendors then get an error and smack myself in the head and then remove the 's' ;) On 2/12/07, jinhr [EMAIL PROTECTED] wrote: Sam, I eventually makes your sample codes runs according to http://

Need advise on pdf generation with FPDF

2007-01-17 Thread jinhr
Hi there, I need advise on PDF creation with my current project. I may choose FPDF (http://www.fpdf.org/) When visitors fill and submit a HTML form, besides data going into MySQL, a PDF file should be created with these data and emailed as attachment. My question: How can I use FPDF smoothly

Re: Need advise on pdf generation with FPDF

2007-01-17 Thread Chris Hartjes
On 1/17/07, jinhr [EMAIL PROTECTED] wrote: Hi there, I need advise on PDF creation with my current project. I may choose FPDF (http://www.fpdf.org/) When visitors fill and submit a HTML form, besides data going into MySQL, a PDF file should be created with these data and emailed as

Re: Need advise on pdf generation with FPDF

2007-01-17 Thread jinhr
Thank for quick prompt, Chris. Your solution for swf really helps me to think of the solution. I may scratch a similiar way for FPDF. BTW, I wonder whether it be better to define a fpdf Helper rather than do in Controller? Anyway, I ga to whip now

Re: Need advise on pdf generation with FPDF

2007-01-17 Thread Samuel DeVore
you might also take a gander at the google cache for the old wiki http://72.14.253.104/search?q=cache:B-P_vGNWzN8J:wiki.cakephp.org/tutorials:creating_pdfs_easy+fpdf+cakephp+wikihl=engl=usct=clnkcd=1 I send an email to the foundation offering to bring this up to date and to the bakery, since

Re: Need advise on pdf generation with FPDF

2007-01-17 Thread Dr. Tarique Sani
On 1/17/07, jinhr [EMAIL PROTECTED] wrote: Just like you would use any third party code. My question: How can I use FPDF smoothly into CakePHP framework? Should I define it as Component or Helper? Anybody has such experience or even sharable codes? You can get started by putting FPDF in the