How can I display a views item

Created on 27 September 2019, about 5 years ago
Updated 20 May 2024, 6 months ago

Hi,

I want to use this module to provide a views item menu entry (Page display) to users.

But nothing is added to my new tollbar menu from views...
Which option do I choose ? I already tried with "Tools" and "User Account Menu" (and select theme as menu for my toolbar menu).

Thanks

💬 Support request
Status

Active

Version

2.1

Component

Documentation

Created by

🇫🇷France aiphes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Recently had to do this for a project, here's a breakdown of what you need to do:

    The Toolbar Menu module allows you to access an existing Menu, so first we need to determine what Menu we want it to display, e.g., "My Menu":

    • If this is for an existing menu, we can move to the next step.
    • If we want to have a custom menu, we need to first create it (/admin/structure/menu)

    Once we have a menu, we can go to Toolbar Menu to create it (/admin/config/user-interface/toolbar-menu/elements). When creating the menu element, we select our menu from the previous step.

    At this point we should see our new Menu Element at the top next to Manage or the User menu, if it was a new menu, this would be empty. If it was an existing menu, this would have all the elements from that menu.

    Then we can proceed to customize our view(s) to appear in the Menu we created under the view's Page Settings:

    1. Define the Path you want to use, e.g., "/my-menu/my view
    2. Set the Menu to Normal Menu Entry, and select the Menu you selected/created before, e.g., "My Menu"
    3. Ensure the permissions are set correctly at the View as well as the Toolbar Menu level.

    At that point you may need to refresh a couple times to ensure the view/menu changes are loaded and your view should be displayed under the menu element we added before.

Production build 0.71.5 2024