Skip to content

list themes

Will Strohl edited this page Mar 1, 2022 · 1 revision

list-themes

When used, this command will all of the theme settings found in your DNN instance. This includes:

  • Host Settings
  • Site Settings
  • Page Settings
  • Module Settings

Ideally, you should have as few entries listed as possible - but, every site is different.

This is only a listing at this time. If you want this command to do more, please create an issue and ask for a new feature. You can even sponsor a new feature!

Command

Command Description
list-themes When you run this command, all theme settings found will be listed so you can review each of them.

Arguments

This prompt does not have any flags at this time.

Output

If successful, you'll see a listing of each theme setting found. An example is below.

Source Theme Path Portal Id Tab Id Module Id
Module [G]Containers/Xcillion/Title_h4.ascx -1 26 357
Module [G]Containers/Xcillion/Title_h4.ascx -1 27 357
Page [G]Containers/Xcillion/Title_h3.ascx 22 -1
Page [G]Skins/Xcillion/404.ascx 24 -1
Page [G]Skins/Xcillion/Home.ascx 21 -1
PortalSettings [G]Containers/Xcillion/NoTitle.ascx -1 -1
PortalSettings [G]Containers/Xcillion/Title_h2.ascx -1 -1
PortalSettings [G]Skins/Xcillion/Admin.ascx -1 -1
PortalSettings [G]Skins/Xcillion/Inner.ascx -1 -1

Any -1 value is either actually a negative one, or that value doesn't apply for that scenario. For example, if a HostSetting appears, it won't have an ID for any module or page. In this case, the value is -1.

If an error occurs, it should be displayed to you in the Prompt window. If not, you'll find it in the Log4net log files.

Additional Notes

None at this time.

Clone this wiki locally