Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
i don't know why, but some of the child items in my menu tree are missing!
i got a menu like this:
news
- football
-- first team
-- second team
-- third team
- tennis
-- first team
-- second team
-- third team
about
- football
-- first team
-- second team
-- third team
- tennis
-- first team
-- second team
-- third team
menu block should show me the items wenn i'm in second level like news or about.
so on the page "about" it shows me all second und third level items, but on the news section it just shows me the second level items. even when i go to a third level item with my mainmenu!
could the paths be the mistake? they look like that:
news : /news
- football : /news/5
-- first team : /news/6
-- second team : /news/7
-- third team : /news/8
- tennis : /news/9
-- first team : /news/10
-- second team : /news/11
-- third team : /news/12
about : /about
- football : /about/football
-- first team : /about/football/firstteam
-- second team : /about/football/secondteam
-- third team : /about/football/thirdteam
and so on..
so on the about section the child items were all displayed but on the news section not!?
thanks for help!
Comments
Comment #1
FNGR CreditAttribution: FNGR commentedok now i tested und set option "expand all children" und now they are shown! but thats not what i want. some ideas why that??
Comment #2
FNGR CreditAttribution: FNGR commentednow i know where the problem is. the sublinks in "news" are just a link to a view with contextual filter on taxonomy term id. these urls like (news/2) I entered per hand in my main menu. if I link to normal nodes like a page in sublinks, they are working fine and expand when i'am on a parent menu item. the links to the contextual view not!
somebody got an idea how to solve this?
Comment #3
JohnAlbinThat's the way core's menu system works. You need to use the internal path to the node when you create a menu link. Not a path alias.
Comment #3.0
JohnAlbinspellcheck