By Alex on Monday, 18 January 2021
Posted in General Issues
Likes 0
Views 1.1K
Votes 0
Hello,
How to change the position of Komento in an article?
I would like to place comments at the end of articles in the last position after TAGS and after Related Articles.
The most important for me being not to separate the tags of the article. They are linked, it makes sense.

- Article
- Tags
- Related Article
- komento
- Pagination


I tried with different template and modifications of article.php or com_content / article / default.php

How is Komento loaded on the page?

Thank you

I am working on a local installation at the moment
Try to download my attached file then replace it with JoomlaFolder/components/com_komento/komento_plugins/com_content.php and see how it goes.

Basically, Joomla allow 3rd party component to trigger this following event to display 3rd party content :
- onContentBeforeDisplay
- onContentAfterDisplay
·
Monday, 18 January 2021 16:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Thank you for the quick reply.

Replace "com_content.php" with "" content.php "?

Replace a Komento file with an EasySocial file.

Really ?
·
Monday, 18 January 2021 21:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hmm, I am sorry for that is because I uploaded the wrong file in my previous reply.

Can you try to download my attached file again and replace the file into this file location again?

JoomlaFolder/components/com_komento/komento_plugins/com_content.php
·
Tuesday, 19 January 2021 10:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Thank you for your reply.
I replaced the part that changed


if ($ view == 'entry') {
$ article-> text. = $ html;
return '';
}



by


if ($ view == 'entry') {
return $ html;
}


It works perfectly, everything is in order.

Thank you
·
Tuesday, 19 January 2021 16:58
·
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.
·
Tuesday, 19 January 2021 17:09
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post