Context

jmiccolis - March 11, 2008 - 11:17

Updating from the DRUPAL-6--1 branch

If you are using the Drupal 6 1.x branch of context, you should have a straightforward update path to the 2.x branch. If you were using context_prefix with spaces, you will need to grab the PURL project which is the successor of context_prefix.

Overview

Context allows you to manage contexts for different portions of your site. You can think of each context as representing a "section" of your site. For each context, you can choose the conditions that trigger the context to be active and choose different aspects of Drupal that should react to this active context.

Some simple things you can do using context:

  • Make the blog section active whenever the user is viewing a blog node type or blog view.
  • Configure block visibility by section rather than by path or PHP code.
  • Make primary / secondary menu links active based on what section a user is viewing.
  • Define section titles or a section body class to use in page.tpl.php

Posts and presentations

Thanks

  • Contributors: dmitrig01 (Dmitri Gaskin), Pasqualle (Bálint Csuthy)
  • Maintainers: yhahn (Young Hahn), jmiccolis (Jeff Miccolis)
  • Sponsored by Development Seed

Releases

Official releasesDateSizeLinksStatus
6.x-2.0-beta72009-Sep-0134.05 KBRecommended for 6.xThis is currently the recommended release for 6.x.
6.x-1.0-alpha42009-Mar-0743.03 KBSupported for 6.xThis release is supported but is not currently the recommended release for 6.x.
5.x-1.0-beta12008-Oct-2235.69 KBRecommended for 5.xThis is currently the recommended release for 5.x.


 
 

Drupal is a registered trademark of Dries Buytaert.