10 years ago
3
Topic

Hi all,

I create a comments system with Seblod as explain here. It works well. Comments are displayed in list and search form with author (created_by field) and publishing date (created field). 

In my users profiles, I add avatar field (upload _images field).

I would like to display this avatar in my comments list. So I add the avatar field in my comments list and search, but avatar isn't displayed.

A solution ? Thanks a lot.


Get a Book for SEBLOD
10 years ago
0
Level 1

Someone have a solution please ?

Thanks

10 years ago
0
Level 1

Hello,

could you give us a little more explication like field upload_image configuration (thumbs, field storage,...)

Are you using Typo Image on the field ?


Best regards.

Lionel

10 years ago
0
Level 1

Hi Lionel,

In users form, on site view, I use the "user avatar" field (uplaod image type). It's a default field I founded in User Profile app folder. I use the default configuration : thumb1 - storage : standard - article - avatar. 

To display this avatar in user's profile, no problem.

In my comments list and search, I use custom template position (seb minima template). I use articled created by field in item view to display the author of each comment. I try to use in this same view my avatar field (I call it in my custom template with <?php echo $cck->renderField('user_avatar');?>) but it's not displayed.

Maybe you have a solution ?

Thanks and sorry for my bad english.




Get a Book for SEBLOD