I might be misunderstanding this, but I can't see Context module assigning any variables that can use used by themers in either templates or preprocess functions.
[I used devel_themer module to check this].

It would be useful is some variable was set for page.tpl.php or node.tpl.php declaring which contexts were active so that some extra work could be done on the theme layer.

Regards
Alan

Comments

yhahn’s picture

Status: Active » Closed (won't fix)

Context doesn't add variables for this in page.tpl.php but it's very easy to check for an active context yourself by using the context API functions:

// Checks whether `blog` context is active.
context_isset('context', 'blog');