Skip to main content

Avatar class CJBlog

1.7K Views
0 Replies
1 min read

Hi Maverick,

EasyProfile shows the avatar of the user in a circle (class img-circle). I have mimicked this in cjblog (article suggestions, mod_blggers, profile page, etc.) by adjusting the code in several places.

The newest version of EasyProfile has the possibility to configure in the back-end what class you want to give the avatar (so it is not fixed 'img-circle' anymore).

I am thinking of adjusting the code in cjblog to read the EasyProfile variable and use that class also for the cjblog functionality that displays the avatar.

What I also could do is create a configuration option in cjblog back-end and use that field: that way this functionality is not only for easyprofile integration but generic.

Is this a functionality that you by any chance are also looking at (to avoid me doing double work)? If I do these changes what code changes would you prefer: use easyprofile field or make it generic by using own back-end field?

 

Hope this makes sense :)

regards,

Ruud.

0 Replies

No Replies Yet

Topic Author

R

ruud

@ruud

Topic Stats

Created Sunday, 01 March 2015 15:29
Last Updated Sunday, 01 March 2015 15:29
Replies 0
Views 1.7K
Likes 0

Share This Topic