Theming

Create a New Omega Zone for Drupal 7

Last updated March 3, 2020
Categories

Check your version

This tutorial covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Sprout Video

In this lesson we have fast-forwarded some by completing the conversion of our old page.tpl.php into the new Omage theme. We'll take a look at the work we've done to get to this point, and then deal with what looks like could be a tricky HTML wrapper problem by creating a new zone for our theme, and configuring it to meet our needs. So, we'll:

  • Review templates and variables
  • Add a new zone to our theme
  • Configure our regions with the new zone

This is where we can really see how to blend the usefulness of code and configuration in Omega, to accomplish our task in a very simple way.

Additional resources

You can download the final Ninesixty Robots Omega theme as a regular project from Drupal.org.