Theme and variable management Drupal Sites


show more Theme and variable management provides you with in-depth training on Developer. Taught by Jon Peck as part of the Simplified Drupal Sites with Drush show less
please wait ...

Theme and variable management

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 argum...

Theme and variable management
Video duration: 7m 1s 1h 22m Intermediate

Viewers:

Theme and variable management provides you with in-depth training on Developer. Taught by Jon Peck as part of the Simplified Drupal Sites with Drush

Subjects:
Developer Web
Software:
Drupal Drush
Author:
please wait ...