By tylr23 on Friday, 08 February 2019
Posted in Technical Issues
Likes 0
Views 868
Votes 0
Hi,

Is it possible to have on page load any first comments minimized by default(so that when you open it, the replied comments are not minimised)?

I could achieve this with JS but maybe you could tell me what file set minimized to True?

Kind regards,
Hello,

You can go to this file: ../components/com_komento/themes/wireframe/comments/item.php and if the highlighted div here https://take.ms/0uIF0 has a 'is-minimized' class, the comment item will be minimized. Hope this helps.
·
Friday, 08 February 2019 11:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Nik.

I changed the "can-minimize" to "is-minimized" and it works !

<?php echo !$comment->isMinimized() ? 'is-minimized' : 'can-expand';?>
·
Friday, 08 February 2019 18:01
·
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 confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Friday, 08 February 2019 18:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post