Here's a context getter that switches the theme. I couldn't figure out a way without using hook_context_getter though. ideas would be great.

CommentFileSizeAuthor
theme-switcher-context-getter.patch5.07 KBdmitrig01
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dang.artman’s picture

It would be great if you could switch the theme based on the context!!!

Pasqualle’s picture

6.x-1.x?

yhahn’s picture

Status: Needs review » Postponed

I'm going to postpone this functionality until 2.x stable is out and we branch for 3. Aside from the fact that the _getter hook has been deprecated, context currently has very poor support for theme switching anyway -- the block visibility reaction doesn't support multiple region sets (as defined by different themes) and this deficiency is not one worth tearing apart 2.x for.

Let's put this high on our list for things to capture in 3.x.

SocialNicheGuru’s picture

What version of context is this on?
I am using version 2 now.

I would like to be able to setup context per theme also. That would be very helpful!

Thanks

designerbrent’s picture

This is high on my list.

Any chance this will move in the the 3.x scope since I'm seeing 3.0 already has a beta4 on it.

okokokok’s picture

I'm looking for exactly this functionality.

First tried the Subsites module, now trying the Sections module, still to no avail. If I find a solution I will update here.

Also the Context Reaction Theme module is not sufficient, #838572: context Active Theme and Taxonomy.
There's also #293736: Integration with Sections module, but that's not really enough.

Changing theme depending on context seems at its place within the Context module itself.

xurizaemon’s picture

Version: 6.x-1.x-dev » 6.x-3.x-dev
Status: Postponed » Active

Moving to 3.x-dev and un-postponing (as per #3 above), as it seems unlikely to happen in 2.x at this point.

Note existence of http://drupal.org/project/context_reaction_theme (which guaka mentioned).

Definitely seems a natural fit for core Contexts module though.

mlsamuelson’s picture

So, taking the changes to Context that have occurred between 1.x and 3.x, and looking at updating the patch, I came to the conclusion that what we'd end up with would get us something very similar to what we already have in http://drupal.org/project/context_reaction_theme...

Eric_A’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Assigned: dmitrig01 » Unassigned
Issue summary: View changes

Context Reaction: Theme never saw a Drupal 7 release. Anyway, should this be considered postponed, active, or won't fix?

IckZ’s picture

active ;)

Would be nice to get an d7 stable release of Context Reaction: Theme