Forum


Replies: 1   Views: 158
Replace variables in master slides
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phppptx 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 phppptx version and check the Documentation available.

Posted by jason_dev  · 03-05-2024 - 12:21

Dear all, 
I have successfully tried a few things in the test version - including replacing variables on individual slides. 
I copied this from one of the examples.

However, it did not get this working on the master slides, but that would be essential for me. I haven't found anything in examples or documentation on how this works. 

Used code: 

$pptx->replaceVariableText(array(
    "NAME" => "Jason",
));

Am I doing something wrong here or have I missed something?
Or is it not possible with your tool?

Thanks in advance, regards.