numbers displayed on user pages
Shannon Lucas - June 26, 2009 - 16:28
| Project: | Menu Breadcrumb |
| Version: | 6.x-1.1 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
On user pages, the titles are getting replaced by two numbers separated by a forward slash. I've attached a screen shot of a user page. This appears if the user goes to their /user page, but displays the correct title if the user goes to /user/uid.

The problem also appears after an account has been created and the login form is displayed:

| Attachment | Size |
|---|---|
| user-page.png | 24.52 KB |
| login-form.png | 38.23 KB |

#1
This is happens when the admin_menu (http://drupal.org/project/admin_menu) is installed.
The module node_breadcrums has the same problem #353519: Admin Menu Module Conflict - User Login Page
The fix there works also here.
FIX:
change line 79 from:
$menu_link = menu_link_load(db_result(db_query("SELECT mlid FROM {menu_links} WHERE link_path = '%s'", $menu_item['href'])));to
$menu_link = menu_link_load(db_result(db_query("SELECT mlid FROM {menu_links} WHERE menu_name != 'admin_menu' AND link_path = '%s'", $menu_item['href'])));that will do it.
Sincerely Markus
#2
See also #303247: Menu Breadcrumb setting active menu to undesirable menus
#3
This issue is a duplicate of #303247: Menu Breadcrumb setting active menu to undesirable menus and the fix will be released once #539240: Is MENU_BREADCRUMB still being maintained? is resolved.