Forum


Replies: 2   Views: 2372
How can i replace variables contained in a template 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 afantini  · 26-04-2018 - 10:10

I state that I am using the trial to check if phpdocx is suitable for the needs of my company.

My document is generated by a template.

Using

$ docx-> replaceVariableByText ($ variables)

I could not replace the variables I had put in the template footer, and I had to create the footer via PHP through WordFragment and addFooter ().

Is it possible not to give up the footer placed in the template?

Thank you.

Posted by afantini  · 26-04-2018 - 13:26

All right thank you!