This module provides integration between the Context and Flag (3.0+ only for the moment, if there is interest in it support for 2.0 may be added later) modules.

When enabled it creates new Context conditions which can be triggered based on the value of one or more Flags applied to nodes, currently active users, or user profile pages.

Example use case: providing per-node layout controls (see screenshot and the context_flag_examples feature module on github).

Context conditions provided

  • Flag - node: This will be active when viewing a node with the identified flags applied to it.
  • Flag - user page: This will be active when viewing the profile page of a user with flags applied to them.
  • Flag - current user: This will be active if the user account currently being used to view the site has flags applied to it.
  • Flag - taxonomy term page: This will be active when viewing a taxonomy term page with flags applied to the term.

Project Information

Downloads