Skip to main content
Tweeted twitter.com/#!/StackDrupal/status/241460759341711360
General cleanup; added theme link; added tag.
Source Link
mpdonadio
  • 38.1k
  • 8
  • 89
  • 142

Show/Hide regions in omegaOmega subtheme

I am using drupalDrupal 7 and iI am creating thean Omega subtheme from omega theme.

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

Here is my page.tpl.php

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

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

  endif; 

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

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

 endif;

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

     print render($page['footer'])

  endif;

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

Show/Hide regions in omega subtheme

I am using drupal 7 and i am creating the subtheme from omega theme.

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 this much of code for printing attributes, content and footer region

Here is my page.tpl.php

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

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

  endif; 

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

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

 endif;

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

     print render($page['footer'])

  endif;

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

Show/Hide regions in Omega subtheme

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']);

  endif; 

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

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

 endif;

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

     print render($page['footer'])

  endif;

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

Source Link
mohit_rocks
  • 4k
  • 2
  • 25
  • 60

Show/Hide regions in omega subtheme

I am using drupal 7 and i am creating the subtheme from omega theme.

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 this much of code for printing attributes, content and footer region

Here is my page.tpl.php

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

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

  endif; 

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

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

 endif;

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

     print render($page['footer'])

  endif;

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