By Chris Paschen on Wednesday, 03 July 2019
Posted in General
Likes 0
Views 1K
Votes 0
We're looking for a commenting system for a custom component that we are creating.
I'm wondering if you have any docs on how to create a plugin for Komento for a custom component.
Also, would there be any problem running Komento on a site that already has EasyBlog installed and running (we don't presently anticipate adding Komento to EasyBlog, but might if we have good results with the custom component).

Would this be possible?
Hello Chris,

If you need to integrate Komento with your custom component, you may refer to the guide at https://stackideas.com/docs/komento/administrators/advance/component-plugin

Also, Komento does work with EasyBlog if you intend to integrate it with EasyBlog in the future
·
Wednesday, 03 July 2019 23:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Unfortunately, I don't have a Komento subscription, so I can't see that doc page. But as long as you are confirming that it is possible (and if we have a subscription we can ask clarifying questions about that doc page) then we should be OK to move ahead with our plans to at some point integrate Komento into our system.
·
Tuesday, 09 July 2019 00:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Chris,

This is the part you need to understand your component which you would like to integrate with Komento comment system whether can allow 3rd party plugin to trigger these following similar event on your component content page? Because how this Komento work is actually base on the the event trigger by the component.

- onContentBeforeDisplay
- onContentAfterDisplay

Meaning to said the component itself must have allow 3rd party component to trigger something on their listing page like Joomla article page, Joomla allow 3rd party component to trigger this following event to display 3rd party content :
- onContentBeforeDisplay
- onContentAfterDisplay

So we can able to render the Komento comment form on the Joomla article page.

Hope this information can help much you here.
·
Tuesday, 09 July 2019 12:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you. That is EXACTLY the info we needed at this point.
We will make sure to develop this component to have the
- onContentBeforeDisplay
- onContentAfterDisplay
functionality so that we can integrate Komento.

Thank you again for your help.
·
Tuesday, 09 July 2019 23:28
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome.
·
Tuesday, 09 July 2019 23:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Chris,

This is the part you need to understand your component which you would like to integrate with Komento comment system whether can allow 3rd party plugin to trigger these following similar event on your component content page? Because how this Komento work is actually base on the the event trigger by the component.

- onContentBeforeDisplay
- onContentAfterDisplay

Meaning to said the component itself must have allow 3rd party component to trigger something on their listing page like Joomla article page, Joomla allow 3rd party component to trigger this following event to display 3rd party content :
- onContentBeforeDisplay
- onContentAfterDisplay

So we can able to render the Komento comment form on the Joomla article page.

Hope this information can help much you here.

hi alex and thank you for information. we have aimilar problem too.
we create our custom component and want to use komento after our Course Content.
I see in plugins/content/komento/komento.php these two line:


require_once(JPATH_ROOT . '/components/com_komento/bootstrap.php');
KT::commentify('com_yourextension', $content, array( 'params' => ''));


1- Is it enough to render komento's commenting form?

2- what is .php file in the /components/com_komento/komento_plugins/ *.php ? is it need if i want simply show komento after my CoirseContent?
·
Tuesday, 24 November 2020 18:02
·
0 Likes
·
0 Votes
·
0 Comments
·
1- Is it enough to render komento's commenting form?

Nope, you need to have an integration abstract layer ready and properly in place, then you can use the above 2 lines code to call Komento in your template file so it will render Komento form on the page.

2- what is .php file in the /components/com_komento/komento_plugins/ *.php ? is it need if i want simply show komento after my CoirseContent?

Yes, this is the integration file you need to create and put into JoomlaFolder/components/com_komento/komento_plugins/com_yourextension.php

or

JoomlaFolder/components/com_yourextension/komento_plugin.php

Either way also can, it would be best is try to understand how the system renders the Komento comment form into Joomla article page.

You can refer this file JoomlaFolder/components/com_komento/komento_plugins/com_content.php

By the way, I am really sorry but our system is unable to locate any orders from your account. Our priority support is only available for users with a valid subscription.

Thanks for understanding.
·
Tuesday, 24 November 2020 18:52
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post