Closed (fixed)
Project:
Real Name
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Feb 2009 at 14:46 UTC
Updated:
22 Feb 2009 at 07:54 UTC
Jump to comment: Most recent file
I just upgraded the RealName Module from 6.x-1.1 (2009-Jan-01) to 6.x-1.x-dev (2009-Feb-12). I am using the Core Profile module as field provider. In 1.1, the title of a user's "My account" page was her real name, as expected. In the new dev version, the title now reads "My account" literally. What change happened to the code that broke the original behavior?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 375692.patch | 834 bytes | roball |
Comments
Comment #1
roball commentedThe attached patch solved the problem for me :-)
Comment #2
nancydruIn fixing the title (and bypass a core bug) on the user page, I decided to be more like core. I think this is more appropriate and makes the breadcrumbs correct. Unless you can provide a more compelling argument, I will leave it like this.
Comment #3
roball commentedWithout your module enabled, Drupal itself would not print "My account" literally, but the username instead. With your module enabled, I would expect to have the username replaced by the realname. I don't see an advantage in changing this to the same fixed wording for all users.
Comment #4
nancydruHmm, I wonder where I picked up that bit of code from - I could have sworn it was the User module. But then again, the user module has a problem with the menu code...
Anyway, I kind of like "My account" because it tells my users how they got there. So I made it a default option; you can go back to the way you like by unchecking it on the settings page.
Comment #5
roball commentedThank you Nancy for adding this as an option. However, with realname.module v1.4.4.34 now either the wording "My account" or the realname (depending on the new setting on or off) will be displayed on *every* page!
Comment #6
nancydruI only see it on "/user/..." pages.
Comment #7
roball commentedJust checked it again - I really have it on each and every page.
Comment #8
bobgeier commentedI can confirm roball's bug as well, but for clarity have moved it to a new issue. See http://drupal.org/node/378938
This issue is now fixed.
Comment #9
roball commented