mPDF implementatie

Nederlandse ondersteuning voor CMS Made Simple

Moderator: velden

Post Reply
Guido
Forum Members
Forum Members
Posts: 221
Joined: Sat Aug 29, 2009 3:00 pm

mPDF implementatie

Post by Guido »

Heeft iemand hier mPDF wel eens op een site geïmplementeerd en zo ja, heb je wat tips of een korte uitleg hoe je het gedaan hebt?
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: mPDF implementatie

Post by JohnnyB »

There is a PDF print module in the forge. I use that for 1.11.x + sites.
The template will need to be a fully qualified HTML document with the DocType and links to the stylesheets you want to use for printing.
It will take some testing and experimenting to make the PDF page exactly the way you want it to look
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Guido
Forum Members
Forum Members
Posts: 221
Joined: Sat Aug 29, 2009 3:00 pm

Re: mPDF implementatie

Post by Guido »

I'll answer you in english:

Thanks. I saw that. I downloaded this version. It's version 0.1, I saw in SVN there is a 0.2 version. Which one do you use? I saw it has no .XML, so I manually created the module/PDFGenerator folder and uploaded the files. So I guess I should run the mothod.install.php?

===========EDIT===========
Nevermind, it just was in the modules list already, just had to hit 'install'... Seems to work!
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: mPDF implementatie

Post by JohnnyB »

Guido wrote:Thanks. I saw that. I downloaded this version. It's version 0.1, I saw in SVN there is a 0.2 version. Which one do you use? I saw it has no .XML, so I manually created the module/PDFGenerator folder and uploaded the files. So I guess I should run the mothod.install.php?
I am using .1 from the Forge. with a 1.10.11 and 1.11.11 site.
I have it set to use the TCPDF subsystem.
hope that helps...
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Guido
Forum Members
Forum Members
Posts: 221
Joined: Sat Aug 29, 2009 3:00 pm

Re: mPDF implementatie

Post by Guido »

Well it worked like it should, but I found for my needs the styling options for the module were too limited. I found some help on manually implementing mPDF (which I like for it's many styling options) and posted a detailed workflow for this here.

Thanks for your time anyway.
Post Reply

Return to “Dutch - Nederlands”