Download & Extend

Protected Node needs Views capabilites

Project:Protected node
Version:6.x-1.5
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:views

Issue Summary

hej,

how do I make protected_node and views work together?

Currently I am using one of the default views, the "frontpage"-view and it forces all users to enter a password upon loading the frontpage now?

Help would be appricated, thank you very much.

Comments

#1

Title:Protected Node and Views?» Protected Node needs Views capabilites
Category:support request» feature request
Priority:critical» normal
Status:active» needs review

I created a handler, so you can exclude protected_nodes from a view. Don't know if this is the correct way, its my first time working w/ views.

You need to do this:

  • Apply patch to protected_node.module - this makes it views aware
  • Put both *.inc files in protected_node directory
AttachmentSize
protected_node_patch.tar.gz 1.33 KB

#2

Category:feature request» support request
Status:needs review» needs work

I just realized that this does not work due to some preloader views uses.

How to solve this?

#3

Status:needs work» closed (fixed)

I solved this with a hack myself. I attached it for reference - not as a solution. You also need the files attached above.

This patch disables the automatic redirect, if only the teaser of the page is loaded. It much rather strips all information from the node, so it can also be listed. If the title is allowed to be shown the title will be shown in a listing.

Maybe someone will solve this some time in the future.

AttachmentSize
hack_protected_node_and_views.patch 4.43 KB
nobody click here