Closed (duplicate)
Project:
Bootstrap
Version:
7.x-3.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2014 at 12:48 UTC
Updated:
18 Mar 2021 at 20:27 UTC
Jump to comment: Most recent
If the source for secondary menu is the main menu, then the full main menu gets displayed a second time as secondary menu (instead of second level links from active main menu link).
Comments
Comment #1
markhalliwellComment #2
quimicIMHO this is not a duplicate of #1893532. #1893532 is a very global task around menus dynamic behaviour.
This one a specific bug regarding the content of the secondary menu. It is not about styling or behaviours. The actual generated content is wrong.
Comment #3
markhalliwellIt is a dup. If there wasn't the legacy cruft of manipulating the menus like that (ie: primary/second variables in $page) and just using normal system, then this really wouldn't be an issue: https://api.drupal.org/api/drupal/includes%21menu.inc/function/menu_seco...
Comment #4
dimon4ikzp commentedIt still doesn't work since 3 years
My Solution:
add function to template.php
and replace "Secondary nav part" in page.vars.php to:
Comment #5
grabby commentedI agree that this is a separate issue and #4 works for me. Any chance of testing / committing?