Jump to content

RockPDF - page header and footer and use in multiple fields of page template


Recommended Posts

Hi.
I am using RockPDF module from Bernhard.
I have request for creation of PDF document (several pages) which should have header and footer on every page but on one page it should be without them.
So global need is to have header and footer and on specific page there should be some option to disable them in concept of single document.
I found some info about htmlpageheader and htmlpagefooter in docs of mpdf but I think I will need to help with it...
Another option is to have multiple PDF files created for one template page.
One file with headers and footers and another file without...
This I tried and I could not change hooks for it in ready.php right way...

Could somebody help me with this ?
Thanks for any advice..

 

Link to comment
Share on other sites

Thanks Bernhard. I will try it and let you know.
It looks interesting, because I need exactly to specify on page I do not want header and footer - so that class "noheader" would be suitable.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...