Closed (works as designed)
Project:
Protected Node
Version:
7.x-1.3
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 May 2017 at 14:46 UTC
Updated:
6 Jun 2017 at 12:52 UTC
Jump to comment: Most recent
Comments
Comment #2
grimreaperHello,
The description of your use case and configuration is not clear at all.
I suppose you use a view that display content using a particular View mode (protected_node does not protect field, only when the content is rendered using view modes).
By default when a node is protected, only the title is displayed, see protected_node_protected_node_hide().
You can also use this hook in a custom module to display your image. The usage of hook_protected_node_hide is to hide information before rendering but you can use it to add some if you want.
Comment #3
Road Kill commentedHi Grimreaper thank you for the but unfortunately my coding skills are very weak. It would be great to see a feature in the future that will allow specific fields to be excluded. As in my use case I have created private galleries and need not only to show the title but a teaser thumb image as well.
Thank you again for your help.
Comment #4
Road Kill commented