2

I use a vocabulary to freetag bookmarks I post to my site, and I want to hide all the terms (also most nodes; most or all, I don't care).

With TAC module I use following setting for a start:

global default: Show/Create/Delete: ignore   Show-term-checkbox: yes
myvoc default:  Show(node) : disallow;       Show-term-checkbox: no

I have also tried with:

global default: Show/Create/Delete: ignore   Show-term-checkbox: no

I just want to make Drupal show the "access denied" or similar page on /taxonomy/term/xxx. I know my site doesn't show a link with that URL, but I just want to be sure.

Is it possible? Or should I use a simpler module?

1
  • Can you give a bit more information about what end result you'd like to achieve here? If we have an understanding of the intent, we might be able to suggest an alternative approach, if one is appropriate. Mar 21 '11 at 10:04
1

You could implement hook_menu_link_alter in a custom module and modify access to /taxonomy/term/xxx, if need be, by overriding the existing access callback with your own.

You will need to look at the menu router table to see exactly what menu item you want to alter.

0

Path Access offers a simple way to display a 403 on any taxonomy/term/* page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.