Hi,

I'm using Protected nodes (great module, thanks) together with display suite (DS) to layout a teaser.
The idea was that it will only show the title (I've enabled this correctly in the module) unless the user is logged in.

When I don't enable the DS layout, it works normal, but when you enable the DS layout, the title field is handled as a regular field in the node display (which you can hide if wanted), as a result, the module protects the title field instead of displaying it.

Not a big programmer myself, so can not bring you a patch.

hope that somebody can help
thanks in advance

Comments

grimreaper’s picture

Version: 7.x-1.4 » 7.x-1.x-dev
Category: Bug report » Feature request

Hello,

I think it is in the function protected_node_protected_node_hide() that this is removed.

Changing the issue metadata.

If you are not working on this issue, please remove the assignment to yourself.

grimreaper’s picture

Assigned: david.goovaerts@gmail.com » Unassigned
Status: Active » Closed (outdated)

Hello,

In https://www.drupal.org/project/entity_access_password, as it is now a field based approach it is supported out-of-the-box.