Exclude certain node types

kirkcaraway - February 8, 2009 - 15:05
Project:Hidden
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I need a way to exclude certain node types from using Hidden. For instance, on my sites, Page nodes are created only by the myself or an editor, and I don't want users to be able to hide or report those nodes. Is there a way to do this, or would you have to add this to your features? Thanks.

#1

ekes - March 13, 2009 - 17:40

Agree absolutely. So I've written attached. It's working and (when I corrected the content type in the test) it's not breaking tests. I'll add it to the module when it has it's own test/s.

AttachmentSize
hidden.contenttype.20090313.patch 8.69 KB

#2

ekes - March 13, 2009 - 17:41
Status:active» needs review

Review by humans, but also by it's own test ;)

#3

kirkcaraway - March 14, 2009 - 14:44

Thanks. I'll see if I can give it a try this week.

#4

kirkcaraway - June 13, 2009 - 15:45

Thanks very much for adding this feature. But I think I'm missing something. I don't see where you configure for excluding node types. Can someone point me in the right direction?

#5

ekes - June 19, 2009 - 16:00

It's not in the module yet.. as it's still not got a test. The patch above should work mind, give it a go. If you've never patched try http://drupal.org/patch/apply or collar me in irc.

I'll try and give the module some love soon, and get a (final) 6.x release.

#6

kirkcaraway - October 4, 2009 - 23:04

We installed this patch, and it seems to work, but we are now having issues with the module not sending out emails when someone reports or hides a node. Has anyone had the same issue?

 
 

Drupal is a registered trademark of Dries Buytaert.