By default, elgg generates the user avatar for each activity, but how can I add different icons for different activities accordingly. Can anyone give me some idea where to look at?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- damieneskimo@damieneskimo
damieneskimo - 0 likes
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- damieneskimo@damieneskimo
damieneskimo - 0 likes
You must log in to post replies.Sorry I may have been unclear about the question. I can see the `image.php` file is getting the subject entity's icon. What I want to achieve is to use different icons for different activity, for example: thumbup icon for like activity, dialog box icon for reply activity, group icon for joining a group activity.
So what's stopping you? Sniff the action type and object and render your own icon.
Sorry didn't read through the doc. Get it working, thanks!