Forum


Replies: 1   Views: 1379
Change template footer of document
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 Exorion  · 20-10-2020 - 07:48

Hi guys! 
I want to use HeaderAndFooter from template, but i want to make some changes in a footer. If i add default footer it completly resets the imported footer - how i can merge changes and template footer?

Thanks

Posted by admin  · 20-10-2020 - 08:08

Hello,

importHeadersAndFooters, addHeader and addFooter overwrite existing headers/footers.

If you need to add/change/remove contents in existing headers/footers you can use the following approaches:

Regards.