By tylr23 on Friday, 12 November 2021
Posted in Technical Issues
Likes 0
Views 503
Votes 0
Hi,

At the top of the entry view, the total of comments is shown thanks to <span data-comment-counter><?php echo $blog->totalComments;?></span>

I checked the blog model file but could not find which query generates this for the entry view.

Could you tell me where I can find this query?

(I want to modify it in order to show only parent answers in the count and not replies)
The file located at JoomlaFolder/administrator/components/com_easyblog/models/comment.php (getCount() function)
·
Friday, 12 November 2021 11:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for your time again Arlex, you are spot on !

Kind regards,

Matt
·
Saturday, 13 November 2021 00:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

Just for your information, I have locked and marked this thread as resolved to avoid confusion in the future. Please start a new thread if you have any other issues in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Saturday, 13 November 2021 02:50
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post