Join Jon Peck for an in-depth discussion in this video Theme and variable management, part of Simplified Drupal Sites with Drush.
Downloading and enabling themes is the same as downloading and enabling…modules, to a point.…I will describe the differences in how to mitigate them.…First, let's list the themes that are currently available, drush pml --type=theme.…There are four themes and two of them are enabled.…However, Drupal themes have some differences for modules, in particular there…are default themes which are used unless otherwise specified and admin themes…which are used on admin pages only.…
The project manage list doesn't show this information.…These settings are stored as Drupel site variables.…In Drupal development, there are two functions, variable_get and variable_set, that…are used to retrieve and save settings and other one-off types of information…from hardcoded settings in settings.php and from the database.…Drush provides an interface to these site variables with a variable_get and…variable_set commands aliased as vget and vset.…I will start with variable_get, help vget.…
vget takes one argument, the partial or complete name of the variable.…
The course describes how to manage users, download and install modules and themes, archive and restore your entire site, and employ site variables for fast, full control over your Drupal sites. Plus, discover how to script an entire Drupal site installation with and without site profiles.
- What is Drush?
- Installing the prerequisite files
- Installing Drush with PEAR, manually, and just for Windows
- Installing Drupal sites
- Managing themes
- Controlling user access
- Controlling cache and cron
- Reading logs
- Updating modules