Tutorials:
btopro's walkthrough
How ELMS uses this module
University of Virginia video tutorial to solve theme issue

Map values as database variable|value. This will also accept variable|index:value in the case of arrays that are stored in the drupal variable table. %theme can be used to replace it with the current theme in use, accounting for og_theme

The use-case for building this was Spaces can override global settings based on Strongarm. This module allows your contexts to dynamically react to minor global value overrides. An example implementation is:

theme_%theme_settings|toggle_primary_links:0

This says "look at the active theme settings variable, then see if primary links are told not to render". In this instance, the context will match and can display blocks or whatever it wants to. In ELMS, this variable match allows you to toggle whether links display in the theme's primary links region or if a block should be rendered on the page (hence the if primary links are set to 0 do this).

Project created as part of the Penn State University ELMS Initiative.

Supporting organizations: 

Project information

Releases