When you are viewing a user other than yourself, there should not be a "My account" breadcrumb.

This is also happening in 7.x.

Comments

manuel garcia’s picture

So true.

I find myself having to do this in my template.php just so my users don't get confused:

function phptemplate_breadcrumb($breadcrumb) {
  if((arg(0) == 'user') && is_numeric(arg(1))) {
    unset($breadcrumb);
   // and set here your $breadcrumb properly calling global $user or whatever.
  }
  // rest if the code ommiited ....

}

We should definitely fix this. User module does nothing to breadcrumbs as far as I could find out... anyone knows where this is coming from?

sivaji_ganesh_jojodae’s picture

subscribing

sivaji_ganesh_jojodae’s picture

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.