Voting starts in March for the Drupal Association Board election.
Attached is a file with a set of commands to simply list, enable, disable themes in a site. This is the complete set of commands:
theme status Show current status of theme configuration in the site. theme list List all the available themes for the site. theme info List all info about a theme. theme set default Set the default theme. theme set admin Set the administration theme. theme enable Enable a theme. theme disable Disable a theme.
It has been tested with drupal 6.x. Must review if compatible with 5.x and 7.x
I include also a dump of a session using the commands:
$ drush theme list Nombre Título Enabled/Disabled Predeterminado STARTERKIT Zen Themer’s Starter Kit disabled No zen_classic Zen Classic disabled No marvin Marvin disabled No minnelli Minnelli disabled No pushbutton Pushbutton disabled No chrysalis Chrysalis enabled No zen Zen enabled Si bluemarine Bluemarine enabled No chameleon Chameleon enabled No garland Garland enabled No
$ drush theme status Default theme: <em>zen</em> Administration theme: <em>garland</em> Other enabled themes: chrysalis bluemarine chameleon garland $ drush theme info garland Name: garland Title: Garland Description: Tableless, recolorable, multi-column, fluid width theme (default). Version: 6.13 Core: 6.x PHP: 4.3.5 Engine: phptemplate Regions: Left sidebar, Right sidebar, Content, Header, Footer Features: comment_user_picture, favicon, mission, logo, name, node_user_picture, search, slogan, primary_links, secondary_links Stylesheets: media: all files: themes/garland/style.css media: print files: themes/garland/print.css Scripts: files: themes/garland/script.js
$ drush theme set default zen Setting zen as default theme [success]
$ drush theme set admin garland Setting garland as admin theme [success]
$ drush theme enable marvin Enabling marvin [success]
$ drush theme disable zen drush: zen is the default theme. You must set another theme as default before trying to disable this one. Drush command could not be completed. [error]
$ drush theme disable marvin Disabling marvin [success]