Sections: assign themes to sections of your site
Last modified: March 14, 2009 - 14:59
This module allows you to create sections. Each section has an installed template, theme or style attached to it. Each section also contains a path setting similar to the new blocks admin. You can then assign themes to a list (regex'ed) paths.
For example, if you want another style for your site admin, all you have to do, is create a section with:
name: Administration Section
path: admin*
and select (a custom made) theme "admintheme" to that section.
You can:
- read about known bugs, and download the latest version on the Sections project page.
- View tutorial of how to use Sections with Pathauto here.
Tutorials
- Geshan Manandhar has a tutorial on how to use the sections module to, apply multiple Drupal themes for sections in a single Drupal website.
Alternatives
- You can approximate some, but not all, of this module's functionality using the Drupal theming concept, template suggestions.
- If you are trying to control the display of sidebars by section of your website, try using Drupal's core block functionality to restrict blocks to certain pages

Blocks must be assigned for each new section/theme
Each new section/theme has to have blocks enabled specifically for it.
Once the section is created and a theme applied, go to the blocks page, choose the relevant theme and choose the blocks.
Apparently this is required due to the way Drupal core functions. Each theme controls the blocks that are visible while that theme operates.
Subthemes created to use with sections also require the blocks to be assigned again.
Miriam
Otaki, New Zealand
Thank you very much for the
Thank you very much for the link to my blog.
Geshan
My Blog
My Drupal site
Make sure to "switch to plain text editor/mode"
If you have installed WYSIWYG HTML editor like FCKeditor module...
Before you add 'paths' in Administer >> Site building >> Sections
make sure to "switch to plain text editor" before you add pages to "activate section".
Otherwise, your addded 'blog' page, for example, will become ' <p>blog</p> '.
Add 'admin/build/sections/*' at 'Paths to exclude' config in your HTML editor's configuration page.