Site navigation

Subsites

Subsites are a part of your website that can have its own menu, theme, custom CSS or anything else you want.

Subsites can be defined in a few manners:
- Marking individual nodes as belonging to the subsite.
- All pages in the subsite menu belong to the section.
- Defining paths that belong to a the section. This is done in the same way block visibility works. So you can use PHP too!

Subsites can have ...
... their own page template : page-subsites-{subsite-id} or page-subsites-{subsite-slug-name}.tpl.php
... their own CSS file
... their own theme, different from the default theme
... their own menu.

Subsites can be ...
... a condition in Context module (http://drupal.org/project/context)
... used to define block visibility

That's all? Nope! Themers and module writers can react differently for each subsite using subsites_get_current and subsites_get.

Remark! There can only be one subsite active at any moment. If multiple subsites are valid for some page, the one with the lowest weight is the active one.

How can you get involved?

Landing Page

gordon - October 23, 2009 - 22:52

A quick module which creates a page like the Administration (/admin) that displays all the child menu items from the current menu.

Set Menu Parent Action

ghing - October 21, 2009 - 15:56

This module provides a way to place multiple nodes within a menu. This module was designed to be used with Views Bulk Operations.

The original use case for this module was to place nodes imported with the Node Import module into the menu structure after import.

This module was originally developed for the Center for Research Libraries website.

Deny Node Path

snufkin - October 20, 2009 - 10:36

This simple module overwrites permissions the node declared menu path /node by adding an extra 'access node path' permission to your permissions page.

System Theme++

pounard - October 19, 2009 - 14:13
System theme administration page with Slate theme

This module provide the "Administration theme" system page alteration, which allow the site administrator to configure a full set of arbitrary path on which the administration theme should be active.

It also provides some integration with node, workflow and revisionning modules; while the user can type in its own pathes, a list of predefined ones can be checked (depending on which module are enabled on the Drupal instance).

It also integrates well with admin module, calling its init stuff within the hook_init() in case the slate theme is selected. This allow to override default system module behavior on content editing pages and ensure that the slate theme won't break.

This module is extensible, it means that it provides a really simple hook that allow other modules to integration with it.

Important notice: this module is very similar to the Administration theme module. There is an open discussion if people wants to complain about this module being a duplicate, see #608556: Duplicate module?

Menu site map

ghing - October 15, 2009 - 17:16

The Menu Site Map module is a plugin for the Site Map module
that provides greater configuration and theming capabilities over the default handling of menus by the Site Map module.

In particular, the module allows site administrators to:

  • Specify the order of menus included in the site map output.
  • Exclude menu items from the site map output.
  • Specify the depth of menu items that will be shown in the site map.
  • Theme the output of the menu in the site map.

This module was originally written to create the site map for the Center for
Research Libraries website
.

Syndicate content
 
 

Drupal is a registered trademark of Dries Buytaert.