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
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.

user page

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

login form

AttachmentSize
user-page.png24.52 KB
login-form.png38.23 KB

#1

worldwidemv - July 25, 2009 - 23:09

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

jweowu - August 12, 2009 - 16:32

#3

xurizaemon - August 16, 2009 - 02:36
Status:active» duplicate

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.

 
 

Drupal is a registered trademark of Dries Buytaert.