drupalfun.com
Avatar
Submitted by maen007 on Wed, 06/09/2010 - 22:44
Status:
Open Question:
First of all, the ebook is quite cool for a developer with his first steps in drupal!
So here my question of panel pane with avatar:
I followed the steps in detail of chapter 4.3.3. Result is, that I get a link to my thumb I created as link instead of the avatar itself.
Another virtual user, who didn't upload an image, sees nothing in his panels although in the preview of views the defaultavatar.jpg is shown. Where do I have to look for the problem?
Sorry for my English knowledges, I'm blond and German ... ; )


1. Avatar Default Image always shown
First of all, I chosed the wrong type in my panel for being displayed.
But now I get only the default image showed both in preview of views and also at the panels. Also I get the following message in my profiles, it doesn't matter if there is an uploaded image or not:
user warning: Column 'nid' in field list is ambiguous query: SELECT DISTINCT nid, files_node_data_field_avatar_node_data_field_avatar.field_avatar_fid AS files_node_data_field_avatar_node_data_field_avatar_field_avatar_fid, files_node_data_field_avatar_node_data_field_avatar.field_avatar_list AS files_node_data_field_avatar_node_data_field_avatar_field_avatar_list, files_node_data_field_avatar_node_data_field_avatar.field_avatar_data AS files_node_data_field_avatar_node_data_field_avatar_field_avatar_data, type, vid FROM drup_node node LEFT JOIN drup_content_type_profile node_data_field_avatar ON node.vid = node_data_field_avatar.vid INNER JOIN drup_files files_node_data_field_avatar ON node_data_field_avatar.field_avatar_fid = files_node_data_field_avatar.fid LEFT JOIN drup_content_type_profile files_node_data_field_avatar_node_data_field_avatar ON files_node_data_field_avatar.fid = files_node_data_field_avatar_node_data_field_avatar.field_avatar_fid WHERE (node.type in ('profile')) AND (node.status <> 0) AND (node.nid IS NOT NULL) AND (node.nid = 494) LIMIT 0, 1 in /var/www/aussteller.saarmesse.de/sites/all/modules/views/includes/view.inc on line 771.
Is there anybody who knows my mistake????