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...Skins, Themes, ...Skins, Themes, ...Best way to copy skin from one site to another?Best way to copy skin from one site to another?
Previous
 
Next
New Post
3/25/2010 11:38 AM
 

I'm new to DNN (2 weeks) and aplogize is this is too basic - I've searched but haven't really found what I'm looking for. 

We need to replicate the skin of our main site on another site we have created.  What is the best way to accomplish this?  I don't know if we have the skin in a single file or not - it was developed by a vendor who hadn't done DNN before so I'm not assuming that best practices were followed. 

Thanks in advance -

Bob

 
New Post
3/25/2010 11:54 AM
 

You can likely just copy the folder that the skin is in from one server (site) to another.

It is likely in the /portals/_default/skins/MYSKINNAMEHERE folder 

You can copy that whole MYSKINNAMEHERE folder. Though it might be at the PORTAL level, instead of being at the host level (available to all portals) in which case it will be in /portals/##/skins/MYSKINNAMEHERE where ## is the ID of the particular portal.

The best way to do this is from the file system. If you don't have file system access and you are running on DNN5 you can go to the Host/Extensions page, click on the pencil next to the skin. From that page you can export the module, or have DNN package it up for you so that it is a ZIP file that can be uploaded to another DNN Instance.


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
 
New Post
3/25/2010 5:58 PM
 

 Well, I tried that - did both ways and it still wouldn't change for me.  So, I went into the page settings, selected the page skin and container to match the existing site, hit update and bam - error:

An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: The Controls collection cannot be modified because the control contains code blocks (i.e. ). ---> System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. ). at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.ProcessMasterModules() at DotNetNuke.UI.Skins.Skin.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Now the whole site is hosed with this error.

Any idea of what I should do before I re-install?

 
New Post
3/25/2010 6:05 PM
 
What version of DNN are things running on now? If you remove the "copied" skin from the new portal does the site work (it will likely throw a skin error at the very top of the page, but the content on the page I believe will work)

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
 
New Post
3/25/2010 6:09 PM
 

 I was able to restore after all that - tried admin.aspx and got back in.  So the question is, what am I doing wrong that I can't get this new skin to show?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Best way to copy skin from one site to another?Best way to copy skin from one site to another?


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