Forum


Replies: 2   Views: 577
How do i an change variables in 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 ElodieMllr  · 19-04-2023 - 11:24

Working thank you.

 

I have just add :

 

        $options = array('target' => 'footer');

        $docx->replaceVariableByText($variables);

        $docx->replaceVariableByText($variables, $options);