Pavel Radvan Posted June 8 Share Posted June 8 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 More sharing options...
bernhard Posted June 9 Share Posted June 9 Hey @Pavel Radvan thx for your question. I think what you are looking for is exactly what is shown in the example at the very bottom of this page in the mPDF docs: https://mpdf.github.io/paging/using-page.html Does that help or do you need more assistance? 🙂 Link to comment Share on other sites More sharing options...
Pavel Radvan Posted June 9 Author Share Posted June 9 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. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now