This is because it needs to be placed as a block. Great! Your new custom menu had been successfully created now, but it will not show up on your website frontend yet. ![]() Now back at the " Edit menu" page, under the " Menu Link" section you will notice the links added and their actual parent-children hierarchy.Īll left to be done is to click on the " Save" button. You will need to repeat the above-described steps for each child link you would like to add to your menu. Once again, when you are ready, please click on the " Save" button. Last, the " Weight" we will again leave set to " 0" but only because this is the article we want to be displayed first. You will notice there will be a few dashes in front of it, which indicate the depth in the menu structure. From the " Parent link" dropdown menu you will need to select the previous link - in our case, " Latest Articles". The " Show as expanded" checkbox should be left unticked this time. You should enter all the link details in the same manner apart from the last three. ![]() Please click on the " + Add link" button once again. When you are ready, please make sure to click on the " Save" button. Lastly - the " Weight" does not really matter in this case, as this is the only parent link we will have on this menu. Then the " Parent link" is already set to our new menu and since this is the parent link we should leave it as it is. The important part of multi-layer menus is to tick the " Show as expanded" checkbox. You may enter a " Description" if required. The " Enabled" checkbox should be left ticked. In our case, it is set to " " as we want the link to take our visitors to the Home Page. Then specify the URL address in the " Link" field. If you are not sure about a certain setting, please take a moment to review the aforementioned tutorial.įirst, you will have to enter the " Menu link title". Since the process of adding links to menus had been already explained in detail in our How to modify Menus in Drupaltutorial, we will not dive in-depth and we will explain only what you should pay attention to. You can do that by clicking on the " + Add link" button.įor the purpose of our guide, we will add one parent " Latest Articles" link and a few child " Article" links. Now what the menu is successfully created we will have to add some content items to it. Once this is done, you will need to click on the " Save" button in order to continue to the following step. When clicked, you will be redirected to the " Add menu" page where you can start the actual process of creating your brand new menu.Īll you will need to specify in the first step is the menu " Title" which represents the name of the menu and the " Administrative summary" which is the menu description and it is optional. ![]() As you have probably guessed, this is where you will need to click. And of course, a nice, big blue " + Add menu" button at the upper left corner. Once this is done, you will be redirected to the " Menus" page where you will see a list of all menus currently available on your Drupal website. When you access the " Structure" page, please click on the " Menus" link. When logged, please navigate through the Administration toolbar to Manage > Structure. As usual, we will need you to log in to your Drupal Admin Dashboard. If you have been following our Drupal tutorials you should already know what the first step will be. Let's not waste more time and jump straight to the point. We will show you how to create a multi-layer deep menu from scratch and how to display it on your website frontend using Blocks. Believe it or not, this is an extremely simple task which we will cover in this guide. Now, that is pretty convenient, however, we do believe that at a certain point you might want to create your own menus. The primary menu is the main navigation menu, typically displayed at the top or the side of the page and the secondary menu(es) often displayed at the very bottom of the page. Usually, they are split into two categories - Primary and Secondary menus. Extremely flexible and customizable, the Drupal menu system allows you to easily manage and modify the structure of your website.ĭrupal, along with the theme you have selected to use, always comes with handy default menus created for you. ![]() Drupal comes with a powerful menu management system which is just another point won by the CMS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |