bernhard Posted October 28, 2018 Share Posted October 28, 2018 Copying repeater items is easier than you might think. Repeater items are just regular pages, just not visible in the tree as you would expect. But they are there. So you can just clone them as if they were regular pages. @adrian has built an adminaction in his module for that. I had a discussion with him about using my clone method instead of his getNew() approach. See https://github.com/adrianbj/ProcessAdminActions/pull/7 The problem is that my implementation does not work on his side. So I would be happy if you could try out my approach of just cloning the repeater item and setting a new parent and tell us if that worked for you. The key is to find the new parent for the cloned repeater item. You find it by it's name: https://github.com/adrianbj/ProcessAdminActions/pull/7/commits/a92227707e20b32ff2144edb999f8008ff450d1c#diff-2780518325127d1f954f0c4a906b8d6fR106 1 Link to comment Share on other sites More sharing options...
Knubbi Posted October 28, 2018 Share Posted October 28, 2018 Thank you! The site is still work in progress but I will be more than happy to check out your tip asap. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now