Download & Extend

Domain View Modes

This module creates additional view modes for all entities. There is one view mode created per domain per existing view mode.

If a corresponding view mode for a domain is enabled on a content type, this will be automatically used to regenerate the content items (nodes) view. This option can be turned off in the domain settings page (see warning below). Other entities are not set up to automatically use these additional view modes.

Warning
Overriding view modes should be done early in the entity processing, but (for nodes at least) Drupal 7 does not support dynamically altering of the view mode. So these are rebuilt using hook_entity_view_alter(). This means that all node views are generated twice and could potentially be a performance issue.

Lodge your support to #1154382: View mode no longer can be changed to help resolve this issue.

You must have the Entity API and Domain Access modules enabled to use this module. This has only been tested against the latest Domain Access module, version, 7.x-3.3.

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.0-alpha2 tar.gz (9.63 KB) | zip (10.53 KB) 2012-Feb-10 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (9.63 KB) | zip (10.54 KB) 2012-Apr-11 Notes

Project Information


Maintainers for Domain View Modes

  • Alan D. - 5 commits
    last: 6 weeks ago, first: 17 weeks ago

Issues for Domain View Modes

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports