Skip to main content

Questions tagged [navigation]

Use it for questions about navigation menus and links used in a site.

0 votes
1 answer
89 views

I'm trying to setup a subnav system on my site so that content creators can select a menu via a reference field and that menu will be rendered on that page. I have this field working on one of my ...
Vecta's user avatar
  • 633
0 votes
1 answer
45 views

I am new to Drupal, and web development infact. I am having a very frustrating time trying to get myself set up. I have intalled Drupal 11. I am assuming the newest version is the best.. I am trying ...
amanda3000's user avatar
-1 votes
1 answer
350 views

Menu itself has no language, only menu links have language. This means that only links in selected language for current page should be shown. This is how it has worked since Drupal 7. But for some ...
user93158's user avatar
0 votes
2 answers
790 views

I recently had to solve a problem where my theme was preventing the attributes of a menu link from displaying. I didn't know the problem at first. I problem solved first by trying various modules and ...
Mark P's user avatar
  • 30
0 votes
1 answer
65 views

i'm maintaining a drupal i didn't developed. I fixed some issues in the menu template (e.g. /themes/custom/{mytheme}/templates/menu--menu-{my-menu-name} ) this template is called at two places in the ...
SupFrig's user avatar
  • 109
1 vote
0 answers
53 views

We have a layout with the menu in a left 'sidebar' region. The menu opens to the correct parent item when browsing a node as it should. When browsing the latest (or any) revision of the node, the menu ...
Christian's user avatar
  • 801
0 votes
1 answer
157 views

I am new to Drupal and I'm trying to fix items on a website, which have several blocks containing menu items. I don't want to delete the blocks, I just want to edit them to remove/update the menu ...
Karen Petkau's user avatar
0 votes
0 answers
64 views

On Drupal 10, I have copied and modified the book-navigation.html.twig file to my custom subtheme "templates" folder (/themes/custom/my_subtheme/templates/book-navigation.html.twig). This ...
Clément BK's user avatar
-2 votes
1 answer
519 views

I have added a menu to a block in a full width region but my problem is that this menu appears vertical and I didn't find a way in Drupal to make it horizontal, similar in style and behavior to a main ...
drupaler's user avatar
2 votes
2 answers
428 views

I use the Simplify Menu module. Since changes in the menu are not applied, I would like to clear the entire cache. Unfortunately the following code does not work function ...
Joe Fred's user avatar
0 votes
0 answers
93 views

I have an about page at /about and a Spanish translation of the page at /es/about. However, when I visit /es/about, the links in my main menu all have /es prepended to the paths. How do I prevent ...
arnoldbird's user avatar
  • 1,295
0 votes
1 answer
340 views

I have a Drupal 7 module that uses hook_preprocess_menu_link() to hide menu links based on user access. I am in the process of migrating to Drupal 9, and it seems that hook_preprocess_menu_link() ...
user avatar
0 votes
0 answers
34 views

I'm trying to embed Discourse comments in Drupal, so I'm tryinig tu use this code snippet in a custom block : <div id='discourse-comments'></div> <meta name='discourse-username' content=...
Vanessa Lambert's user avatar
1 vote
1 answer
53 views

I implemented a class CopyrightMenuEntry extending MenuLinkDefault which provides a custom menu entry (without link) with the current year and the site name. class CopyrightMenuEntry extends ...
piridium's user avatar
1 vote
0 answers
166 views

I have build a custom module that builds out a list of child page links based on 'this' page's id. Logged in it works as expected. But an anon user has problems which range from the block not showing ...
ice70's user avatar
  • 159

15 30 50 per page
1
2 3 4 5
108