Downloads
Release notes
Context 3.x for Drupal 6.x
The 3.x branch is, for the most part, conceptually consistent with the 2.x
branch of Context. Here are some of the notable changes:
-
Context definitions no longer use a set of namespace, attribute, value
identifiers. Instead, they have a single 'name' field which acts as a
primary string identifier. Any contexts that are migrated from 2.x will be
named using a dash-separated convention, i.e. "foo-bar-baz". -
Context conditions and reactions are now defined using CTools plugins.
Drupal integration points for conditions and reactions remain in their
respective hooks and preprocess functions. -
Context Contrib has been removed and its conditions and reactions have been
moved to the context module in respective plugin includes. -
Context Layouts has been added, allowing themes to define different layout
templates, stylesheets, and region combinations in their info file. -
Context UI now provides an inline context editor which can be enabled in
conjunction with the Admin module 1 and jQuery UI module 2. See
compatibilty notes below for specific versions.
Compatibility notes
Context 3 is compatible with the versions of projects specified below.
- at least Features 1.0beta5
- at least jQuery UI 1.3
- Spaces 3.x
- Admin 2.x
Upgrade from Context 2.0 for Drupal 6.x
- Download latest Context 3.0 and latest CTools release and place in modules
directory. - Run update.php.
- If your site contains contexts defined in code they will be overridden.
Re-export them to code again.