Context

jmiccolis - March 11, 2008 - 11:17

Context 3 is alpha and we mean it. If you're still willing to proceed, please read the release notes.

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

Documentation

Thanks

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

Downloads

Recommended releases

Version Downloads Date Links
6.x-2.0-beta7 Download (34.05 KB) 2009-Sep-01 Notes
5.x-1.0-beta1 Download (35.69 KB) 2008-Oct-22 Notes

Other releases

Version Downloads Date Links
6.x-3.0-alpha2 Download (43.52 KB) 2010-Jan-12 Notes


 
 

Drupal is a registered trademark of Dries Buytaert.