-- Drupal and Web Development

Notice: this post was last updated 5 years 11 weeks ago so it might be outdated. Please be cautious before implementing any of suggestions herein.

Enabling a theme in D7 and setting it to default

I normally will do this in the install hook of my site's main feature when using dCycle

variable_set('theme_default', 'mytheme');