I tried to use TCPDF from within a UDT. But so far I'm not able to modify the Content-Type. These lines at the top of my UDT (and using a template containing only {content}) don't alter the Content-Type:
@ob_clean();
@ob_clean();
header('Content-Type: application/pdf');
Do I need to implement this with a module instead of a UDT? Or is there a simpler solution? I found the "PDF Generator" module, but that seems to be stale and not compatible with 1.10...
Generate PDF
Re: Generate PDF
I will ask Silmarillion about http://dev.cmsmadesimple.org/projects/pdf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
- stefhoesli
- Forum Members

- Posts: 56
- Joined: Mon Sep 19, 2011 1:06 pm
Re: Generate PDF
That's great, thanks a lot!
- stefhoesli
- Forum Members

- Posts: 56
- Joined: Mon Sep 19, 2011 1:06 pm
Re: Generate PDF
Any news here...?
Re: Generate PDF
Yeah I got in contact with Sill.
He tries to update the module a.s.a.p. but his spare time is limited at the moment... Thanks for being patient
He tries to update the module a.s.a.p. but his spare time is limited at the moment... Thanks for being patient
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
- stefhoesli
- Forum Members

- Posts: 56
- Joined: Mon Sep 19, 2011 1:06 pm
Re: Generate PDF
Sure, I'm Swiss. We invented patience... 
-
Duketown
Re: Generate PDF
Hi,
I've been using FPDF in a couple of modules that I build and that has an extensive set of functions. Don't know if it would be easy to implement in or as an UDT, in a module however it is great.
If I can help you out with FPDF, please drop me a PM.
Regards,
Duketown
I've been using FPDF in a couple of modules that I build and that has an extensive set of functions. Don't know if it would be easy to implement in or as an UDT, in a module however it is great.
If I can help you out with FPDF, please drop me a PM.
Regards,
Duketown

