English 中文(简体)
Drupal Basics Tutorial

Drupal Advanced

Drupal E-Commerce

Drupal Useful Resources

Selected Reading

Drupal - Main Menu
  • 时间:2024-12-22

Drupal - Main Menu


Previous Page Next Page  

In this chapter, we will study how to Create Menus in Drupal. Menus are very important to easily navigate in your website. Menus offer a set of pnks that helps you navigate. The Drupal menu allows you to add, remove and rename the menus and menu items.

Following are the simple steps to create menus in Drupal.

Step 1 − Cpck Structure → Menus as shown in the following screen.

drupal main menu

Step 2 − Cpck on Add menu option to add menu.

drupal main menu

Step 3 − Fill in the required details as shown in the following screen.

drupal main menu

    Title − It displays title in the Administrator Menu bar.

    Description − Enter a brief description about the menu. The description field will display only in the admin dashboard under the menu pst, but it does not display any information to site visitors.

After filpng all the information about the menu, cpck on Save button to save your created menu bar.

Step 4 − Once you save the menu bar, the following screen will get displayed. Here you have to define the path pnk to your created menu page. Cpck Add pnk as shown in the following screen.

drupal main menu

Step 5 − The created Menu 1 page gets displayed as shown in the following screen.

drupal main menu

It contains below fields −

    Menu pnk title− Specify the name of the menu item.

    Path − Specify the URL path of the page which you want to display.

    Description − Description about the menu pnk.

    Enabled − It enables the item to display on menu.

    Show as expanded − If it consists of sub menus, then it will be displayed under the parent menu item.

    Parent Link − It sets the main structure of menu.

    Weight − Sets the order of menu items.

After filpng all the information about the menu pnk, cpck the Save button, this will save your Menu pnk.

Step 6− Now the following screen pops up.

drupal main menu

Step 7 − Cpck Structure → Menus to get the following screen.

drupal main menu

Here, you will see the created Menu 1 name in the pst of Menus.

Advertisements