In the Drupal 7 version, the "View" tab is removed (e.g. when editing the node) if Rabbit Hole is active for the current node.

This is done by implementing hook_menu_local_tasks_alter(), but that hook isn't available for Drupal 6. We need to find another solution that removes the tab, but doesn't disable the node/123/view path. Maybe by altering the theme registry, or implementing some page alterations that might be available for Drupal 6?

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

aleksey.tk’s picture

That's interesting challenge. I'll look at it.

olofbokedal’s picture

Status: Active » Closed (won't fix)

As of today, the 6.x version won't be supported anymore. Closing any 6.x related issue.

kriboogh’s picture

Title: Remove the view tab » Remove the "view" tab
Version: 6.x-1.x-dev » 2.0.0-beta1
Assigned: aleksey.tk » Unassigned
Issue summary: View changes
Status: Closed (won't fix) » Active

I'm re-opening this, because in the current latest version, this is still the case. The "view" tab is still visible. It's either a bug or a missing feature.

From a UX point, this doesn't make sense since you can only "edit" and "delete" (+ other actions). The "view" tab should be hidden when the RH behaviour is set to 403 or 404.

Also the title link in the content overview view, should link to the "edit" link in this case, not the "view" (but maybe a different ticket needed for this).

damienmckenna’s picture

Version: 2.0.0-beta1 » 2.0.x-dev
Status: Active » Needs review