Jump to content

Prestashop custom PDF start using Header at second page


thobea

Recommended Posts

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:

image.thumb.png.10206870de56946173f3f04f16e47268.png

And here is how I call it in my controller : image.png.7b37cded607ac0b9fc5360f3624165a2.png

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
×
×
  • Create New...