Skins

How do I change the default theme for the Slick skin?

Scenario:
"I'm using Slick skin. When you first view my website the default theme is blue. How do I change that so that whoever visits will see the green theme as default instead?"

Solution:
Open the "switcher.js" file in /skins/slick/ and at the very top are these lines:

// Variables

var DEFAULT_THEME = "graphite";   // this is the default theme for first time visitors.
var TEMPLATEDIR = "skins/slick/"; // path to skins dir
var THEME_KEY = "stheme";   // this key is used to store the selected theme.

Change the first line to the name of the theme you want to be the default.

Original forum thread:
http://forum.nucleuscms.org/viewtopic.php?t=10385

section: Skins | submitted by Leng on 2006.Jan.11 | 3653 views

item rate
This answer was not rated yet.

Please tell us how useful this answer was to you (0 = useless, 10 = very very helpful):

10