Page 1 of 1

Multiple Copy Section

Posted: Thu Nov 04, 2010 2:46 pm
by brownrl
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?

Re: Multiple Copy Section

Posted: Thu Nov 04, 2010 2:47 pm
by calguy1000
CGcontentutils has a copy capability for trees.

Re: Multiple Copy Section

Posted: Thu Nov 04, 2010 2:53 pm
by brownrl
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.