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 of (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:

  1. Read about known bugs, and download the latest version on the Sections project page.
  2. View tutorial by Geshan Manandhar on how to use Sections with Pathauto here.
  3. View a video tutorial on how to install and use the Sections Module.

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.
  • The ThemeKey module allows you to use a different theme depending on current path, taxonomy terms, language, node type and other properties.

Comments

belong@mywebworkshop.com’s picture

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

harkonnen’s picture

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.

pal95’s picture

this is cool. i'm in the process of converting my five static websites to drupal and they are now sections in one drupal installation. each with clearly set up themes.
looking forward to the 7 version.

dzigner’s picture

hi
is this drupal 7 compatible?
thanks