Multiple Copy Section

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
brownrl
Forum Members
Forum Members
Posts: 74
Joined: Thu Sep 23, 2004 11:06 am

Multiple Copy Section

Post 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?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Multiple Copy Section

Post by calguy1000 »

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.
brownrl
Forum Members
Forum Members
Posts: 74
Joined: Thu Sep 23, 2004 11:06 am

Re: Multiple Copy Section

Post 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.
Post Reply

Return to “Modules/Add-Ons”