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

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedHow to change the template of a page without losing the contents?How to change the template of a page without losing the contents?
Previous
 
Next
New Post
8/10/2012 11:30 AM
 
I created a hundred pages, I realized that I prefer to use another template (position of modules). I saw that menu is not possible, without losing the contents, via c # is there any way you think?

Thank you.

 
New Post
8/10/2012 2:57 PM
 

Are you talking about applying a different SKIN?

If so, changing the skin will NOT cause you to lose any content.  If panes from the previous skin do NOT exist in the new skin, modules that had displayed in those panes will display in the ContentPane instead.

 
New Post
8/11/2012 2:43 AM
 
Thanks Mike, forgive my English.

NO, I'm not talking about SKIN but the template pages.

Let me explain with references:

1) I make a page, insert the modules and content
2) export the page as a template (menu page > export)
3) now I want to apply this model to other pages.

So I went to a landing page in the menu, menu page, import and here I can, unfortunately, change the page or create a new one with the model that I created. If I change I lose the content.

I was also wondering if, in your experience, exist any way to do something via code.

Thank you.
 
New Post
8/13/2012 4:00 PM
 
Hmm...I don't know if that's possible or not.  Hopefully, somebody smarter than me will chime in.
 
New Post
8/13/2012 4:21 PM
 
You will likely need to do this using t-sql, DNN doesn't have a way to reapply a template to an existing page without wiping the content from the page.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedHow to change the template of a page without losing the contents?How to change the template of a page without losing the contents?


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