drupalfun.com
Avatar not displaying in profile
Hi all,
I'm working through the book (newbie!) and can't get the avatars to display on the profiles. I only get the default pic.
I had a couple of problems with following these steps:
When I add the relationship, I only have the option to add Content: Avatar (field_avatar) - fid. Is this supposed to be Field ID? As on the screenshot in the book it isn't.
For the step Add a filter: File ID: (select the new relationship here) is not empty, I don't get the option to select "is not empty" - the drop down doesn't let me change it.
Any help would be much appreciated - I'm pulling my hair out!
Thanks
Related Questions
Responses
2. Same problem
Same problem here.
http://yfrog.com/3ufidexample1g
By the way, thank you for the great book!
3. More information: The avatar
More information:
The avatar shows in the preview within Panels (admin/build/pages/nojs/operation/node_view/handlers/node_view_panel_context/preview) but not within the Profile page (user/1).
Hopefully I can figure it out before you Dorien! ;-D
4. OK it works, but...
It works when I set the Display Settings > User page display style at admin/content/node-type/profile/profile to "Display it as a link to the profile content". Then when I open the profile page I get a link to Profile, and the History below. I click the link and I get the panel page complete with avatar in left column.
This of course makes perfect sense, because when we are leaving the old profile page in place (with History) we can't have the Panel page above it.
I am still a Drupal novice, so I have to have a think about whether we could have the Panel above the History, or include the History with the rest of the profile in the Panel.
I understand why you want it on a separate page Dorien as it might get cluttered with a lot of subscriptions, but I'm not sure I agree 100%, at least for the site I'm doing right now.
5. Tried this patch
but it doesn't work the I thought it would. The redirect from content profile node to user profile works fine, but what we need is the redirect from user profile to content profile node and that doesn't work! Must be something to do with using a panel for the content profile node, yes?
Patch here: http://drupal.org/node/661572#comment-2930066
6. Finally saw this
A footnote on page 34 of the 2nd edition:
If you feel like taking over the My Account page as well...
Oops! Sorry I didn't read this in the first place. I am going to try this, but I hope you're willing to help if I get stuck Dorien! :)
7. Working
OK that was a big help.
I'm not really duplicating the drupalfun site - just using the book as a tutorial for some stuff and for the rest just getting an idea of where to start. Well worth the few bucks it costs!
Between the book and the advanced profile module help screens and my fiddling around I'm learning heaps!
8. Still not working for me...
From a process of elimination, the problem seems to be that the argument isn't present. The avatar shows until I put in the node id argument (but this shows the same picture for all profiles). Any ideas? I did define the context in the profile panel page.
I was looking at a tutorial online that said that relationships in view were only valid for content types user or node reference but this is image.
9. When adding view content to
When adding view content to the panel variant, one of the settings near the bottom of the Configure View window in Panels is "Send arguments". This needs to be selected.


1. Do you perhaps have a
Do you perhaps have a screenshot, to clarify? It might help.