By Frodo Looijaard on
Though avatars are uploaded correctly, and displayed in the user settings, they do not seem to be displayed on generated webpages, in comments and the like. I am using the xtemplate theme. Is this simply not supported in this theme, or am I doing something wrong?
Thanks,
Frodo
Comments
not supported in theme
no themes currently display avatars by default. you will have to edit the node() and comment funtions() in your theme to do this. as of a couple weeks ago, you do get passed the name and uid of the author in $node and $comment objects (CVS Drupal only). this makes it triavial to fetch the url of the avatar from within your theme.
Thanks
Well, I was afraid of that. I'll wait for 4.4.0 before implementing it (if it is not enabled by default in themes by then).
Thanks for helping me,
Frodo
Still true of 4.4.0?
I've got 4.4.0, and it still seems like avatars are a stumbling block. Even though I have used the uploading tool, and also manually uploaded a picture, as well as greenlighting avatars in the preferences, it still won't take it. What exactly needs to be changed? I can't quite follow what you suggested.
Example
Avatars are alive and kicking in xTemplate templates for Drupal 4.4
Check your permissions in admin/system/themes/xtemplate.
Here's an example:
Pushbutton Test Experience
------------------------------------------
Drupal Specialists: Consulting, Development & Training
Robert Castelo, CTO
Code Positive
London, United Kingdom
----
did you ever fix the problem?
did you ever fix the problem? My sites doing the same thing.