Closed (fixed)
Project:
Rabbit Hole
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2012 at 00:44 UTC
Updated:
29 Jun 2012 at 14:31 UTC
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
Comment #1
doublejosh commentedComment #2
olofbokedal commentedI 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.
Comment #3
doublejosh commentedCertainly 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.
Comment #4
olofbokedal commentedThe 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.
Comment #5
doublejosh commentedCool. Thanks. Look forward to it. Will test.
Comment #6
olofbokedal commentedAaaand 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.