I am using Drupal 7 and I am creating an Omega subtheme.

In my case I want a page without left and right sidebars. But when I inspect the page.tpl.php from alpha theme it contains only code for printing attributes, content and footer regions

Here is my page.tpl.php

print $attributes;
  if (isset($page['header']))

   print render($page['header']);


 if (isset($page['content']))

    print render($page['content']);


  if (isset($page['footer']))

     print render($page['footer'])


In the above snipped I don't find any option to show/hide sidebars as we used to do like in Garland theme.

1 Answer 1


You can create multiple page layouts using delta modules and use the same for required page.

  • I created a template but i don't know how to call that template for specific content type. For ex. I have project content type, i want to call that template whenever node of project type will be called how can i achieve it Aug 29, 2012 at 13:09
  • Do i have to apply naming convention whilst creating templates ? Aug 29, 2012 at 13:09
  • 3
    Yes install the delta module as well as the context (and context ui) module to control which pages should use the layout. Note: this add alot of admin overhead to change layouts. If you change the main omega layout, it will not effect any of the predefine layout with Delta. You have to manually change every one. Don't forget to install the Omega Tools module as well.
    – iStryker
    Aug 29, 2012 at 13:12
  • You can use context Module to choose template based on the content type. Aug 29, 2012 at 13:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.