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 was using Bootstrap 7.x-3.0 theme and Menu Views 7.x-2.2 module to place views in menus. It works fine.
After updating to Bootstrap 7.x-3.1-beta2 Menu Views module stops work. Views in menu doesn't show. Only link with <view>
patch are showing.
Comments
Comment #1
Plazik CreditAttribution: Plazik commentedI did some test and found what the new theme registered function in
includes/registry.inc
file doesn't consider an order of theme functions. It's placing its our theme function higher than other module's functions. So modules can't overwrite Bootstrap theme functions.Menu Views module can't overwrite menu theme function, Path Breadcrumbs module - breadcrumb function, etc.
Comment #2
Plazik CreditAttribution: Plazik commentedTemporary solution:
just copy
registry.inc
file from 3.0 verison and changetheme
totemplates
.Comment #3
Plazik CreditAttribution: Plazik commentedMarked #2252301: Detect when modules alter theme hook templates/functions as duplicate.
Comment #4
rroblik CreditAttribution: rroblik commented@plazik haha, it's not a problem but your issue is the duplicate issue, not the #2252301 issue (see dates !)
Comment #5
Plazik CreditAttribution: Plazik commented@rroblik oops. Thank you.
Comment #6
markhalliwellIt should be noted that the "solution" to get Menu Views and a theme that alters the registry too (like this one) is actually relatively simple. See: #1908910-33: View links are not displayed (rendered) in menu.