View mode page is only available for content types.
could you please provide for entities as well/

Comments

rballou’s picture

Category: support » feature

This sounds like it would be handy. I will try to take a look at what would be involved in getting this rolled in.

kaizerking’s picture

this may help you entity view modes in getting there

rballou’s picture

For what it's worth, some of this work is currently in development in the 7.x-feature-entity-support branch.

rballou’s picture

Title: entity support » Add support for entities in View Mode Page
Status: Active » Needs review

I have finished placing this functionality in the 7.x-feature-entity-support branch and am looking for people to review. Some notes on this release:

  1. To maintain backwards compatibility, new entity based functions have been added. The existing node based functions actually now use these functions, but handle passing the arguments along as needed.
  2. Node based functions are now deprecated. They still exist and they are intended to still work. These may disappear in a future release though so it's best to move on to the entity based functions.
  3. Along with entity based functions, there are entity based hooks. Please note that both entity and node hooks are fired when appropriate. Since the node based functions just use the entity functions, both hooks are fired (we don't know which the code base may need). Again, the node based hooks are deprecated.
  4. I have also updated the features support but have not extensively tested that. My intention is that old features with VMP settings will still work.

Since adding entity support required quite a bit of changes and is a pretty major feature, this branch will likely become the 7.x-2.x branch shortly.

rballou’s picture

This has been moved over to a dev release as 7.x-2.x: http://drupal.org/node/1978696

rballou’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
rballou’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.