Quantcast
Channel: Question and Answer » menu
Browsing latest articles
Browse All 64 View Live

Print Parent Menu Items of Current Page

I would like to create a sidebar in node.tpl.php that prints the parent menu items of the current page with a depth that follows the current page’s depth by one level. So if I have a menu structure...

View Article



Screen management: How to switch between screens

How can I switch between different screens that implement Screen?

View Article

Image may be NSFW.
Clik here to view.

Multilingual menus in Drupal 8? – Logic and architecture

A question dedicated for developers: What is the right Multi-lingual option for entities and menus in Drupal 8? In contrast to Drupal 7 that never asked me for a menu language, some entities and menus...

View Article

Drupal how to remove active class in main menu

One item in the menu has sub-items that point to the same page (just with different arguments) ex: Products - List item 1 products?pid=1 - List item 2 products?pid=2 - List item 3 products?pid=3 Drupal...

View Article

Image may be NSFW.
Clik here to view.

How to edit hidden settings from Developer options?

I have a chinese tablet with very specific Android 4.4.2 ROM – it’s Developer options menu has only USB debugging available, and all other settings are hidden. The problem is that i switched off the...

View Article


Missing sub-menu

I have configured my main menu to have several sub-menu entries but unfortunately they don’t show up. The menu is rendered using a custom template (menu–main.html.twig) but I don’t think that this is...

View Article

Configuration Menu Items

How can I add a section to the admin/config route and populate it with my own modules? In Drupal 7 it was easy, but I can’t figure it out now in Drupal 8. The closest I can get is adding my modules to...

View Article

Menu link that uses title from router item's title callback?

In the user menu, I would like the menu link for the “user” path to use the dynamic link title from the title callback, instead of a custom link title. I know I could alter this on the theme layer,...

View Article


Image may be NSFW.
Clik here to view.

The TB Mega Menu Responsive Menu Icon Not Working Correctly

For some reason the responsive menu icon is showing at the bottom and to the left of the menu bar on mobile devices. Specifically on iPads. On Andriod devices the menu icon doesn’t even show where it...

View Article


Image may be NSFW.
Clik here to view.

Unity Menu Template [on hold]

Is there a Unity Asset or free project that offers a menu template similar to this one? I tried searching but I only found templates for professional games…

View Article
Browsing latest articles
Browse All 64 View Live




Latest Images