Duplicate page in template

20 January, 2022 01:59:02
ACM
Topics: 9
Messages: 35
Hello,
Do you have a more or less easy solution via a php script, an import, in SQL to duplicate a page of a template because in my model I have to repeat a page for as many "trainees" linked suddenly as we can loop I need to duplicate the pages and as there are quite often corrections on these pages I have to start all over again my page 1 is ok I would have to duplicate it 15 times in my template.
Can you help me ?
20 January, 2022 05:49:44
E2Pdf
Support
Topics: 7
Messages: 3232
Hi,

Unfortunately no, there is no such functionality in almost all cases all fields must be remapped and it can be a bit useless.

As an a solution you can try to select multiple elements with mouse (like you do in windows for multiple files) -> "Right Mouse Click" on any selected element -> "Copy" and on next page just insert all copied elements with "Right Mouse Click" on any free space of page -> "Paste In Place". All elements which were selected will be inserted on new page in same place.
We would really appreciate your feedback at WordPress.org!
20 January, 2022 05:52:20
ACM
Topics: 9
Messages: 35


Thank you, but I have overlapping elements and it is therefore difficult to select everything, there is no magic "Select all" function

20 January, 2022 06:09:32
E2Pdf
Support
Topics: 7
Messages: 3232
As we understand you have background image, if so, you can try to:

- Resize a bit an image by "Dbl Click" on it and copy all elements by start select from the free part.
- After copy resize all back.

OR

- Firstly copy only image to other pages.
- "Hide" images on pages by: Click with "Right Mouse" on "Image" -> "Hide".
- You must be able to copy and paste all elements as described

After this just save E2Pdf Template. "Hidden" elements will be just "hidden" on the current instance (they will appear after you save E2Pdf Template) or you can show "hidden" elements by clicking the button on the panel (screenshot attached).

P.S. We understand that it's not very comfortable and we hope we release soon an update which will allow to set background images more comfortable. We will also review the possibility to add functionality to duplicate pages.
We would really appreciate your feedback at WordPress.org!
20 January, 2022 06:12:56
ACM
Topics: 9
Messages: 35
Thanks you
25 May, 2023 10:47:50
LELF
Topics: 7
Messages: 58
I would like to request this feature as well. Be able to duplicate the same page within the template. Do you have plans to add this feature?
25 May, 2023 10:50:04
E2Pdf
Support
Topics: 7
Messages: 3232
Yes, this feature is already on our TODO list. Meanwhile, you can create a New Page. Select all Elements -> Right mouse click -> Copy -> Right Mouse Click on the New Page -> Paste in Place.
We would really appreciate your feedback at WordPress.org!
25 May, 2023 11:13:41
LELF
Topics: 7
Messages: 58
Yes, thank you, I am currently doing that. I look forward to this new feature :)