Our old D6 solution (Context HTTP Headers) allowed for hiding various things, which included taxonomy pages.
Imagine every Drupal site has term and vocab pages they never want anyone to see.

Comments

doublejosh’s picture

Title: Same functionality for taxonomy terms » Same functionality for taxonomy vocabs
olofbokedal’s picture

I will look into this, should be pretty straightforward.

Maybe this module should include the possibility to alter any entity? That would possibly require a separate administration UI though, so maybe it's a bit overkill.

doublejosh’s picture

Certainly might be the more flexible way to go. But if that requires a separate UI for managing all entities that seems like extra hassle.
Adding taxonomy probably provides the last piece of need for hiding single pages that need it. Beyond that it becomes more a matter of ACL / permissions system.

I'm not sure the path that results from viewing a non-node entity... and if that's something that has to be built by the person creating it. If so, then rabbit hole for those items isn't an issue since they're have control.

olofbokedal’s picture

The view path for an entity has to be specified by the creator of the entity type, yes. And Im pretty sure that it's possible to retrieve that path. This way, it's possible for Rabbit Hole to alter any entity.

However, as said before, this would require a central storage and administration for Rabbit Hole, and I'm thinking the same as you. It's not really necessary to extend the possibility to cover any entity available.

I think I'll go with your initial suggestion, and will simply extend it to cover Taxonomy Terms as well.

doublejosh’s picture

Cool. Thanks. Look forward to it. Will test.

olofbokedal’s picture

Status: Active » Fixed

Aaaand done.

The module has reached version 2.0 which involves the possibility to add support for other entities more easily. This involves nodes and taxonomy terms for now.

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

2.0-beta1 should be available for download in a couple of hours.

Status: Fixed » Closed (fixed)

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