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, ...Unable to uninstall default installed skinsUnable to uninstall default installed skins
Previous
 
Next
New Post
2/2/2014 12:20 AM
 
You are right, removing some of the default skins does not always work.

In what version of DNN do you have this issue?
 
New Post
2/2/2014 1:33 AM
 

I tested on a fresh DNN 7.2.1 install and I cannot remove any of the skins / containers.

I logged this here: https://dnntracker.atlassian.net/brow...

BTW, you should take into account that DNN also has a "Fallback skin / container".

These are used when there's an error in the skin for the current page.
They are set in the \Config\Dotnetnuke.config file

   <skinningdefaults>
      <skininfo folder="/Gravity/" default="2-Col.ascx" admindefault="2-Col.ascx" />
      <containerinfo folder="/Gravity/" default="Title_h2.ascx" admindefault="Title_h2.ascx" />
  </skinningdefaults>

 

 
New Post
2/2/2014 2:00 AM
 

OK, I have found a workaround, but you need to changes something in the database.
Also there's a good chance that DNN will reinstall these skins on upgrade..

It seems these Skins are not uninstalled because they are marked as System packages.

In the database there's a table named SkinPackages, this contains all the installed skins.
(the ones that where installed via the installer)

You will find a Packageid for every skin / container skins and containers and a corrosponding record in the Packages table.
There the packages of the default skins have IsSystemPackage=True.
When you change this to False and restart DNN, you can uninstall the default skin packages.

Do not uninstall the default package, and make sure you change the fallback skin I mentioned in a previous post to a skin that is still installed or don't uninstall the gravity skin.

 


 
New Post
2/2/2014 2:16 AM
 

Backup you DB first and then try:

Host > SQL

UPDATE {databaseOwner}[{objectQualifier}Packages]
SET [IsSystemPackage] = 0
WHERE [PackageId] IN
(SELECT  [PackageID]
FROM {databaseOwner}[{objectQualifier}SkinPackages]
WHERE
NOT ([SkinName] = '_default' OR [SkinName] = 'Gravity'))

 
New Post
2/2/2014 4:42 AM
 
IMHO, whenever DNN provides a new default skin, it should remove system flag from previous default skin and delete should only be prevented
- skin being used in Host Setting
- skin being used in Site Settings (PortalSettings)
- skin being used in TabSettings
- skin is current Default Skin
- same for containers, in addition it should not be used for individual modules (i.e. in TabModules).

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Unable to uninstall default installed skinsUnable to uninstall default installed skins


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