Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...need help copying multiple pages in hierarchyneed help copying multiple pages in hierarchy
Previous
 
Next
New Post
8/27/2009 9:08 PM
 

I need to copy a hierarchy of pages multiple times.  Each copy of the hierarchy, including the skin, modules, and contents is to be identical, except for a single variable to be replaced throughout each hierarchy.  That variable is simply a few words of text found in the title, name , meta descriptions, keywords, and Text/HTML module content of each page within its respective hierarchy. 

For example, take the following hierarchy of pages:

"
HOMEPAGE - United States Information
-----California Information
----------California Business
----------California Construction
----------California Management
----------California Services
"

For the sake of clarity, these pages use one skin.  Each of the pages contain unique information, that differs from the other pages (ie: the textual content of "California Business" is different than the textual content of "California Construction").  However, the information is written generally, such that the same exact information is true, no matter what state name is placed in-line.  The goal, then, is to recreate the child and grandchild pages of the "HOMEPAGE" with entirely identical content, except for that the word "California" be changed to a different state name (such as Nebraska, New York, etc.) in each copy.  As I said before, the word "California" would need to be changed in the title, page name, meta description, and content of each page.  Other than that, the pages would be completely identical.

Please keep in mind that, in the actual project website, the variable word (or state name in the example above) is not the name of a state or anything otherwise available in any type of publicly accessible form.  In the actual project website, it is a list of locations that have been assembled by my employer.

There are probably several methods I could go about to accomplish my goal.  A list of options and a recommendation as to the simplest and easiest ones would be greatly appreciated.  Virtually anything would be faster than the method I have been using, copying each page one at a time, copying the text content of each module into dreamweaver, finding and replacing all instances of the variable word, copying and pasting the module back into the DNN module, and then copying and pasting over the variable word as it occurs throughout each page title and meta description.

In the actual project website, each parent page ("California Information" in the example) has approximately 30 child pages, and there are approximately 200 of those sets to be copied and edited. 

Would be great if I could just Copy all the pages and subpages, filling in the name of each "state" only once per set.

Thank you for reading my wall of text.

 
New Post
8/28/2009 10:00 AM
 

There are two "easy" ways to do this depending on your experience level.

1.) Go to the database level, and wite a series of scripts that copy the data across, this is involved, but do-able

2.) Write a custom module that uses the API's to actually do all of the copying, and copy everything all the way down, including texthtml content

Either option is quite possible, but there is a level of effort involved in making sure you get it right!  If you are looking for a custom solution by a third-party, feel free to email me msellers@iowacomputergurus.com, we do this type of custom work all the time.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...need help copying multiple pages in hierarchyneed help copying multiple pages in hierarchy


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out