You have to go to the wp-content/wp-mpdf-themes folder. Copy default.php and default.css to something like mytemplate.php and mytemplate.css
After that change this files to match your needs.
Last step go to the Admin page and select your new created template. That’s it.
Hi,
thanks and how will I make this work.
http://mpdf1.com/manual/index.php?tid=373
like a get it to work by a button.
So a user pushes a button and it will fire off as email.
What exactly do you plan to do? It sounds like something the plugin is not made for.
So the user will click the button I create which will link to the email template I received link in my above post and off the email will go with pdf attached.
is this possible.
Thanks
No. That’s not possible without changing the plugin code itself.
Ok thanks.
the link above is it not part of the plugin?
Would the plugin need to make massive changes to achieve this.
Thanks
yes and no. The link above points to the library which is used to generate PDFs but has nothing todo with my plugins templates. I don’t know how big changes there needed for. But it is something which probably only you would use. So there is no plan to add this feature to the plugin (I only have very limited time to work on that plugin)
Ok thanks so there is no way to tie the two together.
any tips on how I could achieve this would be highly appreciated.
Thanks
Sorry no. The only way is to look at the plugin source code and find out where the actual pdf gets printed out to the browser. Change that part to send email instead. For email sending you should take a look into the wordpress email api.