Jcomments not working after update to Joomla 2.5.11

Nachdem ich meine Joomlainstallation upgedated habe, lief jcomments nicht mehr vernünftig. Nach kurzem googlen fand ich die folgende Lösung:

 

Im Joomlatune-Forum beschreibt BobCraven die Vorgehensweise, um jcomments wieder vollständig zum Laufen zu bekommen.

The changes from 1.5.9 -> 1.5.11 (and probably also already in 1.5.10) are in components/com_content/views/featured/view.html.php and in components/com_content/views/category/view.html.php. De context is now 'com_content.featured' (lines 79-91) and 'com_content.category' (lines 99-111). The context before was, in both cases, 'com_content.article'.

I fixed this issue in JComments by changing lines 289 and 327 in the plugin (plugins/content/jcomments/jcomments.php)like this:

if ($context == 'com_content.article') 
{ ...

replace by:

if ($context == 'com_content.article' || $context == 'com_content.featured' || $context == 'com_content.category') 
{ ...

Danke an Inge und BobCraven...

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.