How to copy a bunch of pages? Is there a 3rd party tool?

Posted by unknown (yahoo) on Super User See other posts from Super User or by unknown (yahoo)
Published on 2010-01-24T18:17:43Z Indexed on 2010/04/06 11:03 UTC
Read the original article Hit count: 393

(I asked the following question at the DNN forum, and also at snowcovered. Nobody knew of such an obvious time-saver being for sale. I'm posting here in case anybody knows of a freeware module that might do this.)

By "groups of dnn pages", I mean pages that form a hierarchy (not necessary a hierarchy that is headed with a page at the same level as the Home page.)

I know that I can copy web pages, one by one, using the admin login via the web-based dnn interface. But, I'd prefer a script or wizard, of some sort (that runs scripts behind the scenes) that can allow me to

1) specify a web page that I want to copy (along with the hierarchy of pages under it)

2) specify the names and titles of the new top-level pages

3) specify whether the contained modules of the top-level page that I want to copy is to be :

( ) New  ( ) Copy  ( )  Reference

(as in the web-based interface)

4) repeat 3) for each of the source pages in the hierarchy that I want to copy

You might say that I am looking to do something similar to creating a portal web site based on a template, except that it's not an entirely new website - instead it's a section of the current web site.

I might want to do this because I have an organization which is broken into chapters, and I want each chapter to have, say, it's own General Information page (which acts like it's home page), and underneath that, in it's hierarchy, a Contact Info page and an Events page. so:

Home Page
  General Information Page
    Contact Info
    Events

-->

Home Page
  General Information Page
    Contact Info
    Events
  General Information Page Kiwanis - Bloomfield
    Contact Info
    Events
  General Information Page Kiwanis - Dayton
    Contact Info
    Events

If I have 200 chapters, I certainly don't want to copy those 3 web pages using the web based interface, as that would take a long time. (And imagine if each chapter's new sub-website had 30 pages!) I just want to specify the parameters of a copy process, then press a button, and let the system do the rest.

© Super User or respective owner

Related posts about dnn-module-development