Show block menu links only on certain pages

Solutions

Without any additional information about the links inside your menu, it seems the easiest way to structure this is to create 3 separate menus, even if some of the links inside them are repeated.

What sort of links are those? Maybe you can use Views to create a Block that reacts to the page it's on to filter out the relevant links.

Tags: Navigation

Similar questions

How to allow only certain users access to certain fields of a node?
I have product information on my site. Only some users can view pricing for certain suppliers. So each product has a supplier field, which is a node entity reference to an instance of a "supplier" content type. When User A logs in, who only has access to Products Offered by Supplier B, he must only see the "cost price" of items that he is linked to...
How to grant only certain roles permissons over certain field?
I have a content type with a number of fields. But one of the fields in the edit form must be seen by administer and people with "Reviewer" role. How can i do it?
Code for "All pages except those listed" in Show block on specific pages
While editing a block I want to use "Pages on which this PHP code returns TRUE (experts only)" at the same time support the URL's entered in "All pages except those listed" plus my own custom conditions. Where can I get the standard code to match those URL using PHP code? For example as in figure initially "All pages except those listed" is checked...
Show links only to sub menus items, not to parent menu
I added some links to Main menu and created sub links for it. Now the problem is that I've to give url to the parent menus of sub links. I want it to be disabled. Links should be for sub menus only. How can I do it. Please help. In the pic, I don't want link for 'Contact us
Show menu links for anonymous users only
I need to show the user register link as a menu item in the account menu. I am able to add the link in the menu via links.menu.yml. The menu links shows up for anonymous users as well as authenticated users but not for admin user role. How can I hide the menu item for logged in users irrespective of user role?
How do you give permissions to certain roles to get certain menu items to display in the admin_menu toolbar?
Currently I'm using the admin_menu module and have certain roles restricted todo certain things. As an admin I can see the full admin_menu bar in full, but as a restricted user I can only see Add content. Since I'm running the commerce module, I only want certain roles to get the Store dropdown menu. Right now I only see Add content and I'm not sur...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.