The Drupal 8 admin interface needs to keep a lot of people happy. The admin interface is often used by everyone from very experienced users to complete beginners.

In this tutorial, we’ll show you how to create a custom menu for their content creators. One single place for Drupal beginners to find all the links they needed and also create a faster, more usable admin menu.

Improve The Drupal 8 Admin Menu for Content Creators

Step #1. Publish the menu for content creators

Now we need to add a custom menu. Go to:

  • Go to Structure > Menus > Add Menu.

I added a menu called OSTraining Menu. It would be best to make the menu name as short as possible. If the user’s browser window is too small, the custom menus do not display.

Next, we need to add it to the menu bar. Go to:

  • Go to Configuration > Toolbar Menu.
  • Enable you menu, which in my example is “OSTraining Menu”.
  • Click “Save configuration”.

Improve The Drupal 8 Admin Menu for Content Creators

Now we have our custom menu showing in the admin menu, as in the image below:

Improve The Drupal 8 Admin Menu for Content Creators

Step #2. Create the menu links

Currently we have an empty menu, so let’s add some links for our users.

  • Go to People > Roles > Add
  • Create the “Role”. In this example, I’m creating a “OSTraining Members” role.

Improve The Drupal 8 Admin Menu for Content Creators

Lets add create article to the menu so you can get an idea how it works. Go to:

  • Structure > Menus.
  • Next to OSTraining Menu, select “Edit menu”.
  • Add link

All the links added here will be sub Menus of our custom menu block. The image below shows a link that will allow members to add an article:

Improve The Drupal 8 Admin Menu for Content Creators

You will need to make sure the permissions are correct, so that your users can access the custom menu. Go to:

  • People > Permissions.

Figuring out which permissions you need can often be troublesome, so to save time I am going to list the permissions you will require. Check the following permissions :

  • Toolbar (grants access to the admin toolbar)
  • Toolbar Menu (grants access to the custom menus)
  • View the OSTraining Menu menu in the toolbar (grants access to the custom menu we created)
  • Article: Create new content (This will allow the user to make articles)

Once you’ve finished this process, your users will see the “OSTraining Menu” and then the “Add article” link underneath. You can use the combination of custom menus and permissions to configure entire groups of users to perform specific roles for the website.

Improve The Drupal 8 Admin Menu for Content Creators

Original: https://www.ostraining.com/blog/drupal/drupal-admin-improvements/

0 Likes
898 Views

You may also like

Leave A Comment

Please enter your name. Please enter an valid email address. Please enter message.