The Drupal 6 version of Context Plugin Extras had a "Front page" context reaction, whereby one could set a different front page depending on the context.

It would be fantastic if someone could port that code over here as a Drupal 7 patch.

CommentFileSizeAuthor
#2 context_reaction_front-2175293-2.patch4.32 KBcolan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

colan’s picture

Assigned: Unassigned » colan

Looks like I'll be needing this myself.

colan’s picture

Assigned: colan » Unassigned
Status: Active » Needs work
FileSize
4.32 KB

Here's the patch I developed, but it doesn't work because context_active_contexts() hasn't been set when we need this reaction to occur, in context_init(). Any other ideas?