Register   Login
     
  Categories  
  Archives  
  Authors  
  Blog  
02
Occasionally, I get asked specific questions about DNN and rather then reply to them in email, this might be a better place to do it.
 
Today’s question is:-
 
“Do you know if there’s a way to reset an entire portal, all pages, to a particular skin?”
 
One of the advantages of DotNetNuke is its granular assignment of skins and containers. Skins can be applied at the host (all portals), a single portal and even a single page. Containers are even a step further being applied at host (all portals), a single portal, a single page and even a module on a page.
 
A problem with assignments at a lower level is that there is no function to replace all permissions on everything below. For example, the question above indicates that they have used page level permissions for skins and attempted to change skins.
 
There is an easy way to clear all of these assignments IF you have database access. You can run the following query:-
 
UPDATE dnn_Tabs SET SkinSrc = null (WHERE PortalID = [PortalID)*
 
* Notes
  • Optional clause to be used to only apply on a specific portal.
  • Watch for the objectQualifier, the default is dnn_
The same concept can be applied to contains and the ContainerSrc column of dnn_Tabs.
 
Furthermore, there is a discussion on the DNN forums here.
]
Posted in: DotNetNuke Core

Comments

lomaxx
# lomaxx
Friday, March 02, 2007 3:03 PM
thanks for the tip scott, definately very handy.

Post Comment

Name (required)

Email (required)

Website

Enter the code shown above:

  Latest Comments  
New Ventrian Module (Testers Needed)
how! So interesting... I'll test it in the next da... by rmartin77
GIF Quality in .NET
http://moremorepics.com/2011/08/gif-quality/ by Anonymous
Gravatar Support for News Articles
If you change the Comment.Item.Html file from ?d=w... by McKinney Web Design
Simple Gallery - An Ennead of Enhancements
This is awesome! This has just convinced me to ren... by jjovic
Simple Gallery - An Ennead of Enhancements
Scott,Happy New Year!Is it too late to make a sugg... by John
Simple Gallery - An Ennead of Enhancements
Excellent functionality. Looking forward to it. by Web design
Simple Gallery - An Ennead of Enhancements
Awesome!So it sound like:#1 - Display API allowing... by llong
Simple Gallery - An Ennead of Enhancements
Two months have gone by... any plans of attack? by Mark
Simple Gallery - An Ennead of Enhancements
In addition to the new lightbox my wish-list would... by rob
Simple Gallery - An Ennead of Enhancements
Scott,Simple Image Gallery has always been great. ... by bbuell