 readme  id readmetxt v 1121 20100209 190259 yhahn exp context layouts context layouts provides a formalized way for themes to declare and switch between page templates using context it is a continuation of an old drupal themer s trick to switch to something besides the standard pagetplphp file for a variety of specialcase pages like the site frontpage login page admin section etc requirements in order to use context layouts your site must meet a few conditions context and context layouts modules are enabled admin build modules you are using a theme which provides and has declared multiple layouts see example themes for themes you can try basic usage once you have layouts enabled you can have a context trigger the usage of a particular layout in either the admin interface admin build context or inline context editor different layouts may have fewer or greater regions than the default page template so adjust your blocks accordingly supporting context layouts in your theme you can add layouts support to your theme by declaring additional layouts in your theme s info file here is an example exampleinfo name example description example theme core 6x engine phptemplate regions left left sidebar regions right right sidebar regions content content regions footer footer layout default layouts default name default layouts default description simple two column page layouts default template page layouts default regions content layouts default regions right layout columns layouts columns name 3 columns layouts columns description three column page layouts columns stylesheet layoutcolumnscss layouts columns template layoutcolumns layouts columns regions left layouts columns regions content layouts columns regions right layouts columns regions footer each layout is declared under layouts with the key as the identifier that will be used by context for this layout you may use any reasonable machine name for each layout but note that default is special it will be the default layout for your theme if no other layout is specified the following keys can be declared for each layout name the human readable name for this layout shown in the admin ui description a short description of your layout same as above stylesheet a stylesheet to be included with the layout optional template the name of the template file for this layout without the tplphp extension region an array of regions supported by this layout note that any of the regions listed here must also be declared in the standard theme regions array example themes cube a subtheme included with rubik 1 provides a variety of layouts ginkgo 2 the default theme included with open atrium 1 http githubcom developmentseed rubik downloads 2 http githubcom developmentseed ginkgo downloads  