I've installed the module and enabled it.
Under site/all/libraries i've copied the related "mpdfXX Lib" in a "mpdf" directory.
such as site/all/libraries/mpdf contains the downloaded library tree (I.E /classes, / includes, /mpdfi...)
All i see now, is two new views, one for line-item and one for orders with their name in relation to that module.
For the moment , i havent configued those views to set my specific informations or change anything to display.
On the view default "user list of orders", i ve added a "download pdf order" field in the table.
When i display the view of the user list of order and click on the download link, i ve a error :
"Fatal error: Class 'mPDF' not found in " a path related to the commerce_order2pdf.module
How can i ensure that the mpdf library is correctly installed ?
Does the link must be somewhere else, is there another thing to do ?
Thx
Comments
Comment #1
yorguey31 commentedComment #2
kaido.toomingas commentedI did build it on top of mpdf 5.4 and the module expects the lib name to be MPDF54 as it is after you download it.
Comment #3
yorguey31 commentedIt works !
Thx a lot.
And if i want to send the pdf in an email with rules (for instance) what do i have to do ?
Comment #4
kaido.toomingas commentedWith this module you will get a special token for pdf link. So just edit send email rule and add link token. [commerce-order:hashed_pdf_link]
Comment #5
yorguey31 commentedGreat !
Easy to use, and it does the job.
You've done a good work on this module.
Perhaps just some documentation/installation details to add on the front page of this module to make it as popular as it deserve to.
Thx again.
Comment #6
kaido.toomingas commented