I'm building a site, so far it's going to have content for specific roles. I know that blocks has the properties to set this. I'm also using the Taxonomy Access module to restrict nodes to some roles.

But now the problem is, I don't see a way to treat a menu as with the Taxonomy Access module, this module only works for nodes. It would be cool to have also a module to set permissions for every menu item. Maybe a future release of this same module.

What I want to do is what the title says. Add a specific item to the Navigation Menu depending the role of the authenticated user. For example a 'student' wont be able to access a section dedicated for 'employers'. But I also want to add to the navigation menu that specific section which would point to just a node. Students shouldn't be able to acces this section, not even see it on the Navigation menu.

I tried the Taxonomy Menu module with the Views module with no success. Maybe I'm doing something wrong. But when choose to work with a view on the Taxonomy Menu module, my customs views are not displayed correctly. When choosing what seems one of my custom views (only the default views are displayed correctly) the full vocabulary is added to the Navigation Menu as if I choose the Normal option instead of the Views option, my view has just the filter to display a specific node.

I thought at first that this three modules would do the job: Taxonomy Access, Taxonomy Menu and Views. But I'n not going anywhare. Also I give it a try to Taxonomy Context module, but I think this is for other kind of stuff. Please help.

Comments

Gauss1777’s picture

Common, someone please help me.

I'm wondering which would be the way to create a function on the templeate to just check if a menu item can be shown depending on the role and how would I use it? I think menu items don't have an option as blocks have to add conditions with php code.

Gauss1777’s picture

Common, someone please help me.

I'm wondering which would be the way to create a function on the templeate to just check if a menu item can be shown depending on the role and how would I use it? I think menu items don't have an option as blocks have to add conditions with php code.