Ever want to change the view mode of something based off a context? Well now you can! Contextual view modes adds a context reaction where you can set the view mode of any entity. You can also set the view mode on a per node and per user basis using the node and user ui modules bundled inside.

Version 3.x

No more secondary interface for global settings, this configuration has been re-factored in to a real context plugin. Now when enabled you can add a 'View Mode' reaction to your contexts. This new context plugin also works with the mobile detect context conditions.

  • Now a real context plugin.
  • Works with mobile detect context.

Version 2.x

Version 2x has been re-written based on the issues submitted and the feedback that has been provided. The planned improvements are:

  1. Removed dependency on display suite
  2. Allow for any entity. Not just nodes!
  3. Remove hard to use CVM field. Now a property.
  4. Misc bug fixes and UI improvements.
  5. Separated out UI modules for nodes and users.

Drupal 8

Follow the conversation about a D8 version of this module here: https://www.drupal.org/node/2319537

Project information

Releases