I am using content profile with image. Now only username can be displayed in the "My Relationships block".

1) Could I add the image into this block? or could I make a view as same as the result from block ?
2) How can I make a field that display 15 friends in the block also. (like facebook style)

I am not familiar PHP coding. Please advise. Thanks

CommentFileSizeAuthor
block.JPG4.86 KBrickydrupal
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

frenk’s picture

Yes why is there no support for this?

I see a lot of issues in the issue list with all the same question.

If there would be a simple view-setup it would help a lot of people. Me included.

mrf’s picture

Category: feature » support
Status: Active » Fixed

Views is the best way to go if you want to display other information about the user in your list. This could be accomplished at the theme level, but would require a lot more effort.

designcontext’s picture

Maybe the problem is that setting up a view doesn't work. Everytime when creating a relationship there is an error "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user_relationships.uid' in 'on clause'" and also the default views don't work (patch from another issue does not work - for me). How should an unexperienced user carry on???

mrf’s picture

Designcontext, please open another support request for your specific issue. If views is unable to find that column on the user relationships table then you likely have a broken installation on your hands.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.