O'Reilly logo

Drupal 7 Multi-sites Configuration by Matt Butcher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Themes

In the section on modules, we saw how modules can be shared (to a certain extent) by placing them in sites/all/modules/, or how they can be installed for only a specific site by placing them in sites/SITENAME/modules/, where SITENAME is replaced by the site's name.

The same holds for themes. Multi-site themes can go in sites/all/themes, while site-specific themes can go in sites/SITENAME/themes/.

We can see this by first installing a theme into the sites/all/themes/ directory. Let's begin with the BlueMasters theme. This is a stand-alone theme, which means it does not depend on a base theme. So we can install it in the usual ways. Either download it and uncompress it into sites/all/themes, or use Drush to do this for you:

$ drush dl bluemasters ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required