Closed (fixed)
Project:
Drupal core
Version:
5.0
Component:
profile.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2004 at 22:44 UTC
Updated:
17 Jul 2007 at 05:31 UTC
In Drupal CVS as of today, profile.module seems to insist upon making category names appear lowercased when drawn as tabs. This is exceptionally annoying, as admins may want their tabs to appear with first-letter capitalization.
Note that this problem does not affect the display of category names in the profile administration pages, making things even more confusing for an admin... the bug only appears when the tabs are drawn for "edit my account."
Comments
Comment #1
TDobes commentedPossibly fixed by this commit.
Comment #2
(not verified) commentedYup... just test it: fixed.
Thanks, Steven!
Comment #3
(not verified) commentedComment #4
saran822 commentedhi,
i m using drupal 5. in my profile.module file that particular lowercase coding is not there. pls help me.
Comment #5
SundaraRajan commentedHi,
I am also using Drupal 5.1 and when I try to display the tab titles with the first letter capitalized, it's displaying only in lowercase. For example, when i type the Menu Title as Blog it's displaying only as blog, all in lower case. When I checked the profile.module code under the function profile_categories, the code is like this,
function profile_categories() {
$result = db_query("SELECT DISTINCT(category) FROM {profile_fields}");
while ($category = db_fetch_object($result)) {
$data[] = array('name' => $category->category, 'title' => $category->category, 'weight' => 3);
}
return $data;
}
as you see it is quite different from the recommended fix as shown here http://cvs.drupal.org/viewcvs/drupal/drupal/modules/profile.module?r1=1....
But, I can see that the recommened fix is way back in 2004, what is the fix for this recent version? Kindly someone help please.
Thanks
Comment #6
SundaraRajan commentedThis is solved by changing the font-style parameter in the stylesheet to Capitalized.