Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clone block increment name of the image #549

Open
Federica92 opened this issue Jun 9, 2015 · 1 comment
Open

clone block increment name of the image #549

Federica92 opened this issue Jun 9, 2015 · 1 comment

Comments

@Federica92
Copy link

Federica92 commented Jun 9, 2015

Hi,
I was using a custom clone_block that allow me to increment the variable inside the block that I'm cloning and clone the image inside, but the name of the image in the folder word/media, are still the same.
How can I clone and increment the name of the image?
I started to add the image in the folder word/media just using:

 $templateprocessor->zipClass->addFile($filepath, 'word/media/image'.$index), 

but they are not incrementer on the doc, how can I edit the xml t oincrement them? I posted the same question on stackoverflow as well.

http:https://stackoverflow.com/questions/30731653/template-processor-clone-block-incrementing-image
Thank you.
Federica


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@FBnil
Copy link

FBnil commented Oct 7, 2017

@Federica92 Check out this cool new functionality in #1084

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants