drupalhttp-redirectdrupal-6anonymous-users

Drupal 6 - Redirect Anonymous Users to Login Page


Drupal 6

I'm trying to make it so anonymous users can access a few overview pages, but if they click on any other menu item they'll be taken to the login page. Right now the way my site is set up, using the "Node Privacy by Role" module, I can restrict content based on whether or not the user is anonymous, but I can't leave the menu items visible if it's restricted. If I set a node to be not accessible for anonymous users, it just disappears from the menu.

Does anyone know if there is a way to restrict anonymous users from certain menu items, yet leave the menu items visible in the menu so when they click on them they get sent to the login page?


Solution

  • Hope the following links could help u.. :)

    https://drupal.org/node/300607

    https://drupal.stackexchange.com/questions/51523/content-access-module-hiding-menu-links