Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author fkrauthan

    (@fkrauthan)

    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.

    Thread Starter WebNerd

    (@webnerd)

    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.

    Plugin Author fkrauthan

    (@fkrauthan)

    What exactly do you plan to do? It sounds like something the plugin is not made for.

    Thread Starter WebNerd

    (@webnerd)

    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

    Plugin Author fkrauthan

    (@fkrauthan)

    No. That’s not possible without changing the plugin code itself.

    Thread Starter WebNerd

    (@webnerd)

    Ok thanks.

    the link above is it not part of the plugin?

    Would the plugin need to make massive changes to achieve this.

    Thanks

    Plugin Author fkrauthan

    (@fkrauthan)

    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)

    Thread Starter WebNerd

    (@webnerd)

    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

    Plugin Author fkrauthan

    (@fkrauthan)

    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.

    Thread Starter WebNerd

    (@webnerd)

    ok cool thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘help in creating my 1st template’ is closed to new replies.