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 ...Batch create pages/tabs with XMLBatch create pages/tabs with XML
Previous
 
Next
New Post
7/12/2007 10:41 PM
 

I get the feeling I'm trying to re-invent a wheel... 

Goal: Create an XML file (template-like) to create a similar tab structure routinely.  In addition to the content I'd like to automatically add modules, specify the containers, and add the content to all the tabs that are created.  Specifically, we have magazine content with similar sections every issue.  Some pages are disabled parent tabs, some have multiple modules, and some multiple modules with different containers.

Is there a way to untilize the template to automatically add tabs and content into an existing portal?

I'm currently in the Stone Age.  Using the AddTab stored proc to produce the page (many shortcomings), then AddTabPermissions, then AddModule, etc.

Here's an example of the tab structure

Parent Tab

  • Level1-SubTab1
    • Level2-SubTab1(Disabled)
      • Level3-SubTab1 (One HTML Module - Containter 1)
      • Level3-SubTab2 (Two HTML Modlues - Two different containers)
    • Level2-SubTab2 (One HTML Module)
    • Level2-SubTab3 (Disabled)
      • Level3-SubTab1
      • Level3-SubTab2

So what I'd like to do is create an XML file that could create the struction, specify the modules, and add the content.  Is there something that's already built for this?

Thanks, Paul 

 
New Post
7/13/2007 12:27 PM
 

I see what you are saying, the portal template functionality that exists will only create a new portal based on the template. You need to extract the part of the code that only creates the tabs and modules and apply that to an existing portal.  The DNN source code has a "ParseTabs" function that has what you need, but it is not setup to be called independently.

Maybe someone has already written something like this.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Batch create pages/tabs with XMLBatch create pages/tabs with XML


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