Drupal will hide menu items for paths that users don't have access to. But for this to work, it requires that the access callback for that menu item returns FALSE.If you handle access control in the menu callback instead, Drupal won't know that the user doesn't have access and will display the menu.

This code isn't working for me i am using drupal 7 i want to display a home image in place of text "home" menu button. I have uploaded the image file on the server and I have replaced my theme with sky .. still not working please help I am new to drupal With the introduction of Drupal 7, developers may encounter a puzzling problem involving custom menus: imagine that you have created a custom menu — such as a list of secondary links for the footer of a website — and at least one of its menu items is pointing to a node. You think of an improvement to that node's content, so you edit the node and save the results. But its corresponding menu (Later, I realize that the Menu per Role module wasn't necessary to hide the navigation menu block, so the module isn't actually used on the site.) Configuring access To make sure that only editorial staff access content I made some changes in the access control - particularly de-selecting "access content" for anonymous users. 2:01How to hide the user login and "Powered by Drupal" blocks; 3:40How to add a "log in" menu item to the user menu; 2:04How to enable a menu block and hide a block title; 1:28How to hide the secondary menu (user menu) 5:20What permissions are and how to modify them; 4:40How to configure search and how cron runs work; 2:22How to add a new user In this collection, we take you through the process of building a fully functional Drupal 7 web site, step by step. No prior Drupal experience is required, and when you're done you will have learned the most important components of Drupal site building and will have developed the skills to tackle unanticipated problems as they arise.

In this collection, we take you through the process of building a fully functional Drupal 7 web site, step by step. No prior Drupal experience is required, and when you're done you will have learned the most important components of Drupal site building and will have developed the skills to tackle unanticipated problems as they arise.

There are 3 things that Drupal can display without your knowledge. Before you launch any Drupal site you should make sure you address these items. These items may not always be a security risk. But you should at least be a good developer and take care of them – it shows you care and run a tight ship. I’ll give you a few tips for why and how to hide these items. I’ve also included a free The Menu Settings form for Drupal basic pages is located by navigating to your basic page. Then choose Content→Find Content and click the Edit link next to your basic page. You see the Menu Settings tab near the bottom of the form. Click this tab to open the Menu Settings form. These settings allow you …

Deletes all links for a menu. menu_link_delete in includes/ menu.inc Delete one or several menu links. _menu_navigation_links_rebuild in includes/ menu.inc Builds menu links for the items in the menu router.

But the view's menu item is still showing to the Administrator. How can I hide that menu item for Administrators? Notes: This also happens for a user with a uid which is NOT user/1. The menu item is shown, but the administrator can't actually access the actual views results. I have an older Ubercart 7.3 store that has retail and wholesale setup with Price per Role. Works well. But I have a need to hide pricing and the add to cart button for retail customers of a particular brand. I use taxonomy terms for brands. In drupal 6 you could edit the user and it would give you the option to set the theme they use. This option does not appear to be available in Drupal 7. How else can one go about setting a theme on hook_perm() was renamed to hook_permission() in Drupal 7, and there's a bit of a mismatch between view mylink that you define and view joblist that you declare as a permission. You could change your code to look more like this: