Lets say for the sake of argument...
I have an entire site made and ready to go in French. All the pages in the site have an alias that ends in -fr. ex, something-fr somethingelse-fr...
Now what I would like to do is systematically in some PHP code and the db go page by page and recreate the whole entire site one hierarchy number higher. All the pages would be duplicated but I would replace -fr with -nl...
I have searched for something like this and the answer was multi tree copy was not possible. However as I mentioned for the sake of argument what would be the best way?
Could I use the already made copy ability in PHP code and just "copy" each page in a loop changing the parent, hierarchy, and alias?
What would that look like?
Multiple Copy Section
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Multiple Copy Section
CGcontentutils has a copy capability for trees.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Multiple Copy Section
Or better yet the simple thing:
Can I call the copy ability in CMS admin and have some of the fields pre set?
That alone would help a great deal.
Can I call the copy ability in CMS admin and have some of the fields pre set?
That alone would help a great deal.