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.
When looking at admin/apps/server/appname/details you get the nice title callback'd App title, however if you go to only admin/apps/server/appname (no /details) the title and breadcrumb disappear. Figure that out.
Comment | File | Size | Author |
---|---|---|---|
#6 | apps-title-callbacks-1751732-6.patch | 4.21 KB | febbraro |
#4 | 1751732.patch | 4.67 KB | e2thex |
Comments
Comment #1
srjoshRelated to #1778014: Add local tasks for server tabs within an app; byproduct of #1750188: Revamp hook_menu.
Comment #2
e2thex CreditAttribution: e2thex commentedSo I did some investigating and the title callback is getting called, just the value it returns is not being used.
Comment #3
e2thex CreditAttribution: e2thex commentedSo part of the problem had to do with the server and app pages using MENU_CALLBACK instead of MENU_NORMAL_ITEM.
But after changing those the tabs still do not seem to have breadcurmbs.
Comment #4
e2thex CreditAttribution: e2thex commentedOk I went back and work out the use of the load arguments in the paths. Change it so that we have both a %apps_server and %apps_app in the paths for the apps.
I do not fully understand why this has fixed the issue with title and breadcrumbs but it has, also it is a little more clear what we are trying to do there.
Comment #5
febbraro CreditAttribution: febbraro commentedRemove test code.
Comment #6
febbraro CreditAttribution: febbraro commentedHere is a reroll against head. It applies cleanly but it does not fix the problems as best I can tell.
Comment #8
hefox CreditAttribution: hefox commentedI think core changed to fix this, but I think I fixed the damn breadcrumbs being totally messed up.