Closed (fixed)
Project:
Avatar Selection
Version:
5.x-1.2-1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Mar 2007 at 00:20 UTC
Updated:
7 Mar 2007 at 09:52 UTC
anyone else have this happen?
in edit user, the radio button and avatar is below the picture box and covering the theme configuration title and box.
the "Or simply select an icon:" text is in the picture box.
using drupal version 5.1.
screen shot attached.
| Comment | File | Size | Author |
|---|---|---|---|
| avatar.jpg | 14.13 KB | dsp1 |
Comments
Comment #1
dsp1 commentedso I changed the CSS float to none and that fixes it. why is the css for the module set to float: left?
Comment #2
niclasforsen commentedVery good find! I also wondered about this.
Another thing I changed was the "Or simply select an icon" part. If you have more than one profile page that the user can edit, for instance if you have gmap or have added other data fields to the profile, the "Or simply select an icon" would appear on every profilepage the user edits. What I did was a small "hack" to the avatar_selection.module (my two lines in bold);
if ($form['picture']){
$form['picture']['select_avatar'] = array(
'#type' => 'radios',
'#title' => t('Or simply select an icon'),
'#options' => $selects,
'#default_value' => $user_form['_account']['#value']->picture,
);
}
At least for me this removed the avatar selection block from the other profile pages than the one it should appear on.
Niclas
Comment #3
niclasforsen commentedOh silly me, didn't see that the profile thing already had been fixed :I
Comment #4
stella commentedpatch added to CVS. thanks.
Comment #5
stella commentedreleased in 5.x-1.2-2