exstreme / Jcomments-4

Modified Jcomments 3.0.7 with Recaptcha 2 in comments. Adapted to Joomla 4. No compatibility with Joomla 1.5\2.5\3.x
17 stars 13 forks source link

comments in category blog view #183

Open reilldesign opened 3 months ago

reilldesign commented 3 months ago

Is it possible to display all article comments already in the catgory blog view to create a social wall?

Globulopolis commented 3 months ago

No.

reilldesign commented 3 months ago

I have tried the following. In a category blog override i load the Jcomment class

JLoader::register('JComments', JPATH_SITE . '/components/com_jcomments/jcomments.php');

and echo the individual comments after the intro text.

echo $this->loadTemplate('item'); echo JComments::showComments($this->item->id, 'com_content', $this->item->title, true);

This works very well so far. However, it is not possible to write a new comment per article, because the submit button tries to send for all fields, even the empty ones. Would such an override be a good option? is there a way to link the submit button with the corresponding articles?