By Peter Ashford on Saturday, 14 January 2017
Posted in General Issues
Replies 3
Likes 0
Views 329
Votes 0
Hello - Can you please tell me how to disable showing category avatars in easydiscuss? Thanks Peter
Hello Peter,

There is currently no settings to disable category avatar but you can edit the theme files and remove these avatars if you want. For instance, on the forums layout, you can edit the file /components/com_easydiscuss/themes/wireframe/forums/default.php and remove the codes below:

[gist]
<div class="o-flag__image o-flag--top">
<a class="o-avatar o-avatar--md" href="<?php echo EDR::getForumsRoute($thread->category->id); ?>">
<img src="<?php echo $thread->category->getAvatar();?>" alt="<?php echo $this->html('string.escape', $thread->category->getTitle());?>" width="24" class="t-lg-mr--sm"/>
</a>
</div>
[/gist]
·
Saturday, 14 January 2017 13:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Okay thanks. Was trying to avoid an over ride. Any chance you can add a switch into the backend to remove this? You do it for Easyblog already...

thanks

Pete
·
Saturday, 14 January 2017 23:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Yep, already added this into our internal issue tracker
·
Saturday, 14 January 2017 23:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post