By neg0 on Wednesday, 26 August 2015
Posted in Technical Issues
Likes 0
Views 834
Votes 0
Hi,

I'm trying to display comments in a custom component com_pronocote.
I've followed the doc but nothing is showing and I don't get any error.

- I've activated the comments in admin/components/komento/integration/my_component.
- I've created a file "com_pronocote.php" (attached) in components\com_komento\komento_plugins.

In my component view i added :

<?php
require_once( JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_komento' . DIRECTORY_SEPARATOR . 'bootstrap.php' );
Komento::commentify( 'com_pronocote', $this->eventInfos );
?>



Could you help me display the comments ?

Thanks!
I solved the problem, i've added a "echo" before commentify code :
echo Komento::commentify( 'com_pronocote', $this->eventInfos );


Now the comments are displaying but i get an error when i submit a comment:
Status:
500
Status Text:
Internal Server Error
Response Text:
·
Wednesday, 26 August 2015 20:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Problem solved, it was coming from a missing file include
·
Wednesday, 26 August 2015 20:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing, glad that your issues are resolved now
·
Thursday, 27 August 2015 03:40
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post