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, ...How can one find where a theme is used?How can one find where a theme is used?
Previous
 
Next
New Post
9/28/2017 1:37 PM
 
Dear DotNetNuke Power Users --

Please help, with some questions about themes.

How can one find where a theme is used?

Please advise.

The details are as follows...

I am running DotNetNuke version 8.0.3

When I go to > Host, > Dashboard, > Themes, it says...

Theme = Gravity

In Use = True

...but I do know know where that is used, such as on which pages, etc.

I need to know this because I have a requirement to change the theme to Xcillion for everything, so I need to go to those locations and change from Gravity to Xcillion.

Any help is appreciated.

Thanks.

-- Mark Kamoski
 
New Post
9/28/2017 2:07 PM
 
All --

This is follow-up, regarding my post above.

Note that I did try to do some research and I found this thread...

http://www.dnnsoftware.com/forums/threadid/380592/scope/posts/any-way-to-tell-where-a-skin-or-container-is-being-used

...and that thread suggests this SQL...

SELECT [TabID],[PortalID],[TabName],[TabPath],[SkinSrc],[ContainerSrc]
FROM {databaseOwner}{objectQualifier}Tabs
WHERE [SkinSrc] IS NOT NULL

...but that SQL did NOT work for me, as it reported nothing about Gravity....

...and so, I still seek an answer.

What do you think?

Please advise.

Thanks.

-- Mark Kamosk

 
New Post
9/28/2017 3:07 PM
Accepted Answer 
It can also be set as the fallback skin:
Check out \DotNetNuke.config
   
    <skinningdefaults>
        <skininfo folder="/MinimalExtropy/" default="index.ascx" admindefault="index.ascx" />
        <containerinfo folder="/MinimalExtropy/" default="title_grey.ascx" admindefault="title_grey.ascx" />
    </skinningdefaults>
   
It can be set as the portal skin:

SELECT     PortalID, SettingName, SettingValue, CreatedByUserID, CreatedOnDate, LastModifiedByUserID, LastModifiedOnDate, CultureCode
    FROM         PortalSettings
    WHERE     (SettingName = 'DefaultAdminSkin') OR
                          (SettingName = 'DefaultPortalSkin') OR
                          (SettingName = 'DefaultAdminContainer') OR
                          (SettingName = 'DefaultPortalContainer')

Or a page skin:

SELECT    DISTINCT  PortalAlias.PortalID, Tabs.TabName, Tabs.TabID, Tabs.TabPath, Tabs.IsDeleted, Tabs.SkinSrc, Tabs.ContainerSrc
    FROM         PortalAlias INNER JOIN
      Tabs ON PortalAlias.PortalID = Tabs.PortalID
     
      Where NOT(SkinSrc is null and ContainerSrc = null)
     
      Order by PortalID, SkinSrc, ContainerSrc
 
New Post
9/29/2017 10:01 AM
 
Timo --

I really appreciate your help and it helped me get unblocked. Thanks SO much.

Just FYI, here is what happened to me.

I ran the SQL, but did not report anything about the culprit Gravity theme.

I checked "DotNetNuke.config" and found something.

I changed from this...

skinningdefaults

skininfo folder Gravity

containerinfo folder Gravity

skinningdefaults

...to this...

skinningdefaults

skininfo folder Xcillion

containerinfo folder Xcillion

skinningdefaults

...and now DotNetNuke reports Theme=Gravity and InUse=False which is the goal.

I am all set now.

Thanks.

-- Mark Kamoski
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How can one find where a theme is used?How can one find where a theme is used?


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.

Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out