Had made use of Context HTTP Headers to pull this off in the past.

Super happy to see a module that specifically accomplishes this since it's a pretty common need.

CommentFileSizeAuthor
#3 rabbit_hole.tar_.gz9.95 KBaleksey.tk

Comments

olofbokedal’s picture

Priority: Normal » Minor

Glad you like it!

A Drupal 6 version would be possible to accomplish with smaller modifications, and is absolutely possible. However, due to my limited time it won't be prioritized.

I will leave this issue open, and will welcome patches =)

Short information to those who'd like to submit patches: The only modifications necessary should be the implementation of hook_node_view(), and some smaller modifications to rabbit_hole_permission() and the javascript file.

doublejosh’s picture

Thanks for the tips.
Still have one site that will like in D6 for a while and still needs this.
Fairly sure I'll post that here within a month or two.

aleksey.tk’s picture

Assigned: Unassigned » aleksey.tk
StatusFileSize
new9.95 KB

hi guys, here is the backport to Drupal 6

btw, if you need co-maintainer for this Drupal 6 version, i would love to help

aleksey.tk’s picture

Status: Active » Needs review
olofbokedal’s picture

Nice one!

I'll look into this during the week, and create a 6.x branch asap.

olofbokedal’s picture

Status: Needs review » Fixed

The port looks good, just made some minor changes and committed!

http://drupalcode.org/project/rabbit_hole.git/commit/e04f628

doublejosh’s picture

Tested for page not found. Works great.

Status: Fixed » Closed (fixed)

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