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

nhck’s picture

Title: Protected Node and Views? » Protected Node needs Views capabilites
Category: support » feature
Priority: Critical » Normal
Status: Active » Needs review
StatusFileSize
new1.33 KB

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
nhck’s picture

Category: feature » support
Status: Needs review » Needs work

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

How to solve this?

nhck’s picture

Status: Needs work » Closed (fixed)
StatusFileSize
new4.43 KB

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.