Chronicles

Information from my daily web development work and research. Insightful comments encouraged.

Drush make file for subthemes | drupal.org

February 6, 2012 - 12:16am

My first foray with scss/compass and I'm checking out the Sasson contributed theme, which has built-in support.

Super cool, check this out (this will download Sasson, create a sub-theme and enable it):

drush dl sasson
drush cc all
drush sns "My theme"
drush en mytheme
drush vset theme_default mytheme

You can have full control on the theme name and machine name with:

drush sns "Full Name" machine_name

Environment Indicator | drupal.org

February 5, 2012 - 3:36pm

Took me a while to hunt this one down. I'd seen it months ago, and am finally getting around to using it. Somehow all of the search terms I used weren't doing the trick. Finally found it through the D.O modules page using:

  • Category: Developer
  • Compatibility: 7.x
  • Status: Full projects
  • Search: dev stage
  • Sort by: Most installed

The Environment Indicator adds a coloured strip to the side of the site informing you which environment you're currently in (Development, Staging, Production etc).