• Resolved timostsauber

    (@timostsauber)


    Amazing plugin!

    Is there a way we can override and customise the PDF template, without editing the plugin core code?

    e.g. if this line could look for a file in our theme first, and use that instead of your template, that would be awesome.
    require WP_CF7_PDF_DIR . ‘inc/templates/cf7-pdf-generation.public.html.php’;

    The reason we’d want to do this is that most of the header and footer is hard coded, and impossible to customise fully through the CMS e.g. css styles, or positioning, or even the page number output which could be improved slightly to show Page 1/5 instead of Page1.

    Thanks in advance! And awesome plugin ??

Viewing 1 replies (of 1 total)
  • Plugin Author ZealousWeb

    (@zealopensource)

    Hello @timostsauber

    Thanks for using our plugins.

    Is there a way we can override and customise the PDF template, without editing the plugin core code?
    — We can not make override template because of dynamic data are render based on plugin settings.

    The reason we’d want to do this is that most of the header and footer is hard coded, and impossible to customise fully through the CMS e.g. css styles, or positioning, or even the page number output which could be improved slightly to show Page 1/5 instead of Page1.

    — You can manage header logo, header text and footer text from admin.
    — We have also added pagination option as your need check admin SS: https://prnt.sc/246lg60

Viewing 1 replies (of 1 total)
  • The topic ‘Custom template usage’ is closed to new replies.