Forum


Replies: 4   Views: 3332
Stop header an footer
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by ardigital  · 11-04-2013 - 12:12

Fixed, create your word template header and footer but set it so that "First page is different", that way header and footer is only for the first page.

When you create your Docx in PHPdocx, just importHeaderAndFooter as you normally would.

OR

$docx = new CreateDocx($template_path);