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.
Hi there!
The breadcrumb title of the site map doesn't seem to change with the admin config (admin/config/search/sitemap), although the title of the page itself does.
It looks like the breadcrumb gets the title from Drupal's menu system, and the sitemap module doesn't change the value of the title on its hook_menu.
This patch creates a title callback for the hook_menu which checks for the variable and sets the title accordingly.
Please let me know if this is the best way of dealing with this issue.
Thanks!
Comment | File | Size | Author |
---|---|---|---|
#1 | site_map-title_callback-1986086-2.patch | 896 bytes | julioneander |
Comments
Comment #1
julioneander CreditAttribution: julioneander commentedHere is the patch
Comment #2
meisterkaiser CreditAttribution: meisterkaiser commentedhad the same issue,
patch is working fine (after clearing caches)
Comment #3
darrell_ulm CreditAttribution: darrell_ulm commentedAppears this works for people. We need someone to integrate this into dev.
Comment #5
colanThanks!