Context Theme
Categories
Component ID
559380
Component name
Context Theme
Component type
module
Component security advisory coverage
not-covered
Downloads
629
Component created
Component changed
Component body
Context Theme provides the ability to set the current Theme based on Context. The context module supports setting theme variables but does not support changing the current theme based on context, which this module provides.
Currently there is a big problem with this module in that the hook for the context reaction fires after the template engine has been initialized. The template system uses static variables and includes files (templatename/template.php) so I dont see any way to "undo" the loading of a template. I need some help understanding how to get the context reaction to fire sooner, or to get the template loading to happen later (After context reaction hook).
See here for more on the problem:
