Book Image

Learning Drupal 8

By : Nick Abbott
Book Image

Learning Drupal 8

By: Nick Abbott

Overview of this book

Drupal 8 sets a new standard for ease of use, while offering countless new ways to tailor and deploy your content to the Web. Drupal 8 allows user to easily customize data structures, listings, and pages, and take advantage of new capabilities for displaying data on mobile devices, building APIs, and adapting to multilingual needs. The book takes you step by step through building a Drupal 8 website. Start with the basics, such as setting up a local “stack” development environment and installing your first Drupal 8 site, then move on to image and media handling, and extending Drupal modules. Push your knowledge by getting to grips with the modular nature of Drupal, and learning to extend it by adding new functionalities to create your new modules. By the end of the book, you will be able to develop and manage a modern and responsive website using Drupal.
Table of Contents (21 chapters)
Learning Drupal 8
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Managing menus


The representation of the structure of your site to a user will often be via menus. Here we will show you how to manipulate these menus so that you can help a user navigate your site.

Reorganizing menu items

As it stands, our Main navigation menu items are listed in alphabetical order:

However, we would like the items in the following order:

Home | Our Services | Our Clients | About us | News | Contact us

To edit the menu, visit the Menu management at Manage | Structure | Menus:

You will see a list of all the currently defined menus; try editing the Main navigation menu:

Use the 'drag handles' to reorder the menu items:

Rearrange the order and save so that your Main navigation menu appears like this:

Editing menu items

Earlier, we made a dedicated Contact us Basic page and we linked it into the Main navigation menu at the same time. To illustrate the idea of editing menu items manually, let's point this menu item to the existing Contact form that was automatically provided to us by...