thobea Posted June 4, 2021 Share Posted June 4, 2021 Hello, I'm creating a custom module in prestashop and I generate a PDF. But I don't know how to use the header only from the second page since my first page is different from the others. Maybe by overriding the class? Thanks for you help. Here is how I create my pdf in myCustomModule/classes/pdf/HTMLTemplateDevidPDF: And here is how I call it in my controller : 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