You are here

An introduction to Omega/Delta

Sunday, February 12, 2012

So, I finally got around to playing with the Omega theme and Delta module people have been talking about. I was introduced to it at work by one of our developers, and he was very impressed, so thought I would give it a whirl to see what it could do for us. So, this site is now using an Omega child theme to display it's content, with modifications using Delta.

What is Omega?

Omega is a very advanced theme for Drupal 7, it gives a lot of flexibility around where regions are located using a GUI admin area, and with Delta, allows for different ordering layouts for different content types etc...

One of the big bonuses of Omega is that it comes with mobile support as standard, carrying several css files which are developed using a mobile first standard. So all pages use the thinnest css, with larger layouts adding css files so over-rides can be added to larger displays to improve it all.

The other big plus is the emphasis it puts on preprocessing functions. One of the big things that we have learnt recently, is how bad it is to have any php in template files, and that the fewer tpl.php files you have, the better. It comes with some predefined folders for preprocess functions to sit in for the various layouts, which should make things a lot easier.

Basic Setup of Omega

Setup is fairly basic now, if you have the omega tools module installed too. Just go into appearance and choose 'create new omega subtheme'. This will create the files for you to use then, with the naming structure required. From there you can play with the Zones and regions (zones are just really groups of regions).

But what about different layouts? Introducing Delta.

Omega is great for making a layout, but chances are, you will want to different layouts for different pages/sections within your site, this is where delta steps in. Delta allows you to duplicate the config for a theme, and modify it, this means you still only have one theme, but multiple configs. You can then assign these configs using the powerful context module, switching based on path, content type, or whatever you wish, so long as there is a preset for it.


  • Complex for initial usage
  • Delta module is only available for Drupal 7 (so will need to keep template based tweaks in tpl files)

Things to still or play with

  • More intense preprocess development within the theme
  • Adding new regions/zones
  • Performance considerations
  • Some useful screencasts on the topics:


    Blog & News

    Monday, March 7, 2016

    Okay, I know it is awful practice to put 2 things into one article, but I didn't want to write two tbh, so I will keep this tidy, and you can grab out what you need.


    Subscribe to Blog & News


    Cultivating a better future, with the seeds of better websites

    For several years I have evolved through one of the largest media charities in the UK to the role of Senior developer.  I loved it there, but have to stepped out on my own as a freelance developer.

    My main skills are with the Drupal CMS, developing code for it, ensuring standards through projects (whether that design, development, or planning), and leading teams to build applications they can be proud of.

    Digital Consultancy, Web Development and Project Architecture are where I try to focus my skills, supporting my passion and desire to create stunning websites on time, in budget, and meeting your objectives.

    To build a powerful web presence, I combine my creative, technical, and managerial experience (alongside a good splash of passion) which I have cultivated over 10 years in the industry, creating websites people want to shout about.

    More on how I can help