Warning
Warning: File administrator/cache/TCPDF_1.2.zip not uploaded for security reasons!
I have uploaded the files manually working now
I am struggling to attched the pdf in the email template
Any help will be greatly appreciated
thanks
Hi janman,
It looks as if your web host security settings are blocking this - possibly because it contains php files. You can check with your web-host; or you can unzip the file and install the contents manually - the tcpdf folder goes into the /administrator/components/com_chronoforms5/chronoforms/actions folder in CFv5 or the /administrator/components/com_chronoforms/form_actions in Cfv4
Bob
Thanks bob
pls check
I have uploaded the files manually working now
I am struggling to attched the pdf in the email template
Any help will be greatly appreciated
thanks
Hi janman,
First, the TCPDF action needs to be before the Email action; second copy the value from the "File name in Data/Files array" box in the TCPDF action to the Attachments box in the Email action - the default is cf_pdf_file.
Bob
Please check screen shots, still not receiving anything
Hi janman,
Hmmm the name may be different in CFv4. Please drag a Debugger action into the On Submit event, then submit the form and copy and paste the debug results here.
Bob
how do i view the debugger info if it takes me directly to the generated pdf?
Hi janman,
Please set the TCPDF action to save to the server (and not do an immediate download) - you will need to do that to attach the file to an email anyhow.
Bob
Thanks bob that was the problem all working fine.
How do i add a custom header and footer (images) to the pdf template?
Hi Janman,
Hmmm with some difficulty in CFv4 I think. I do have a mangled - i,e, over-hacked - version of the CFv5 version that allows images.
PM me with the details and I’ll have a look and see what can be done.
Bob
Is it possible to change the php pdf render file?
Also will it be possible to save the pdf outside the root, the info on the pdf is highly confidential
I have pm you the details
Thank you very much
I got it working thanks adding images to the pdf
thank you for all your help
Hi janman,
Good to hear that you got it working; and yes, you can save the files above the site root.
Bob