Menu Access in drupal 7

Menu on a website is collection of links which allow visitors to navigate through website. Menus are important aspect of the website, as it not only allow vistiors to navigate through website, but also decides the design and layout of the website.

In the Drupal CMS, menu module provides an interface which allow administrator to manage the menus of the website. Each menu in the site generates a block with same name in the admin section. Administer can display the menu block in any section of the website.

By default, Drupal provides three menus in the admin

  • Management: This menu contains the links for administrative tasks only.
  • Main menu: This menu is used to many sites to show the major actions of the site, often in top navigation bar of the website.
  • Navigation: This menu contains the links, which are added automatically by modules, intended for site visitors.
  • User menu: This menu contains the link related to user's account.

In many websites, we need to display the navigation links in other section of the website. For example, in some website, we display the links in the footer section of the website, to allow visitors to navigate to inner pages. Drupal allow administer to create a new menu and manage th e links of menus from the admin section of the site.

We can also add the menu items for the menus while editing or creating a new content in the admin. We need to only configure menus with content type in the admin.

Creating a new menu:

  • Go to administration -> structure -> menus
  • Click on “Add menu” in the top section of the page.
  • In the new window, a menu form will be generating. In this form, add the below field
    Title: Title of the menus Description: Description of the menus. It’s not necessary that we add description for the menu but it help us to understand the functionality of the menu in the list of menu section in admin.
  • Click on submit button and new menu will be create.

Add a link to a menu:

  • Go to administer -> structure -> menus. It will display the list of menus available in site. In each row of the menu list, there are actions link for the menu.
  • Click on “add link”. It will redirect to menu link form.
  • In the form, fill up the below fields
    Menu link Title: title of the menu item. Path: The path for this menu item. Path can be either internal Drupal path such as “node/nid”, path of views page, path generated by any module, path generated by panels or external URL as “http://www.technospiders.com”. You can add “” to link menu item to front page of the site or “node” to display the list of all nodes. Enabled: By default, this is checked. If this will not checked for menu item, menu item will not be display in the site. Show as expanded: If there is submenu item of the menu item and this checkbox is checked, menu item will always display as expended. Parent link: It will select other menu item as parent item of the menu item. The maximum depth for a link and all its children is 9. So, if some menu item has exceeded more than this limit, it will not be available as parents. Weight: This field is use to sort the menu item.
  • Click on “save” button to save the menu item.

Edit a menu link item:

  • Go to administer -> structure -> menus.
  • Click on “list link” for the menus which contains that menu item which we want to edit.
  • Now, it will display the list of menu item available for the menus. Click on “edit” link in a row of menu item which we want to edit. It will display the menu item edit form.
  • Edit the information in the form and save the form.

Delete a menu link item:

  • Go to administer -> structure -> menus.
  • Click on “list link” for the menus which contains that menu item which we want to edit.
  • Now, it will display the list of menu item available for the menus. Click on “delete” link in a row of menu item which we want to delete.
  • It will redirect to confirmation screen to delete the menu item. Click on “confirm” button to delete the menu item or click on “cancel” link to cancel it.

Configuration of content type with menus:

Drupal allow administer to link menu item with any content while editing or creating new content. By default, we can only add menu item to main menu of Drupal, but we can configure other custom menus which we create in admin with content type.

  • Go to administration -> structure -> content type
  • It will display the list of available content type in the Drupal. Edit the any content type which you want to configure with menu.
  • Click on menu settings tab in for new page. It will display the available menus as checkbox. Checked the menus which you want to configure with content type and save the content type.

Adding menu items using node edit page:

  • Go to administration -> content. It will display the list of content in the site. To add a new content, click on “add content” link in top of page or edit any content of content type which you have configure with your menus.
  • In the node edit form, under the Menu settings, check the checkbox “provide a menu link”. It will display the menu form to add menu link title and description and allow selecting parent menu item.
Technology: 

Comments

What an outstanding slot, thank you for that can come.

Thanks to my father who told me concerning this web site, this weblog is actually remarkable. 

I am really imρrеssed with уouг wгiting skills aѕ well aѕ wіth the layout on уour blog. Is thіѕ a paid thеme oг ԁid you mоdify it yourself? Either ωау κeep up thе eхcеllent qualіtу writіng, it is rarе to see a nice blog like thiѕ οne these days. 

Hi,

This is not a paid theme. I have implemented this theme after reviewing some theme.

Thanks

It's difficult to find experienced people in this particular subject, however, you seem like you know what you're talking about! Thanks

Hello, I would like to subscribe for this blog to take most recent updates, thus where can i do it please help out. 

Hi,

Thanks for your suggestion, we would implement this functionality to our site.

Thanks

I think that is one of the such a lot vital info for me. And i am happy reading your article. However wanna commentary on some general issues, The site style is great, the articles is in reality nice : D. Just right process, cheers 

Thanks for your appreciation.

Wonderful work! This is the kind of information that are meant to be shared around the web. Shame on the seek engines for now not positioning this submit higher! Come on over and visit my web site . Thanks =)

Hey! I'm at work surfing around your blog from my new apple iphone! Just wanted to say I love reading through your blog and look forward to all your posts! Keep up the great work! 

Attractive section of content. I just stumbled upon your site and in accession capital to assert that I get in fact enjoyed account your blog posts. Any way I will be subscribing to your augment and even I achievement you access consistently fast.

What's up, everything is going well here and ofcourse every one is sharing facts, that's really good, keep up writing.

Asking questions are in fact pleasant thing if you are not understanding anything completely, however this piece of writing provides pleasant understanding yet. 

Oh my goodness! Impressive article dude! Thank you so much, However I am experiencing problems with your RSS. I don't understand the reason why I can't subscribe to it. Is there anyone else getting similar RSS problems? Anybody who knows the answer will you kindly respond? Thanks!! 

Hi,

We have not implemented RSS feed feature to website yet now. But we will implement this very soon. 

Thanks

Highly descriptіve аrtiсlе, ӏ loved that а lot. Wіll there bе a pаrt 2? 

Have you ever considered publishing an e-book or guest authoring on other blogs? I have a blog based upon on the same ideas you discuss and would love to have you share some stories/information. I know my subscribers would appreciate your work. If you're even remotely interested, feel free to send me an e mail. 

Hi,

Thanks for your invitation.

Right now, I do not have any plan for e-book publishing.

Whenever I will think about this, I contact to you.

Future time I will come across one thing like this on the web I will make a occasion! Thank you for the actually wonderful put up . Its pretty good to discover someone that have exact same tought like me ! Bookmarked! 

Greetings! I know this is kinda off topic nevertheless I'd figured I'd ask. Would you be interested in trading links or maybe guest authoring a blog article or vice-versa? My site goes over a lot of the same subjects as yours and I feel we could greatly benefit from each other. If you are interested feel free to send me an email. I look forward to hearing from you! Fantastic blog by the way! 

Hi,

Thanks for your invitation. But I have no plan for right now. Whenever I have plan for it, I will contact with you.

Нi thеге I am so dеlіghted Ι found your wеb sіte, I reаlly found you by mistake, whіle I ωas searсhing on Yahoo for somеthіng elsе, Anywaуs I am here now and would just like tо say thanks foг a marvelous ρost and a all round еntertаіning blоg (I alsо lovе thе theme/dеsign), I ԁon’t have tіme to go thгough it all аt the mіnute but Ι havе book-marκed it and also аdded yοur RSS fеeԁs, sο ωhеn I have timе I will be back tο read a gгeat dеal mοre, Plеase do kеep up the excellеnt ϳob. 

Hi,

Thanks for you appreciation.

Currently it looks like Expression Engine is the preferred blogging platform available right now. (from what I've read) Is that what you're using on your blog? 

Hi,

We are using Drupal CMS for managing the blog.

What's Taking place i am new to this, I stumbled upon this I have discovered It absolutely useful and it has helped me out loads. I'm hoping to contribute & assist different customers like its aided me. Good job. 

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.