J'ai fait la mise à jour de joomla 2.5.9 vers 2.5.11 et mon composant JComment a été désactivé... que faire? Merci d'avance à vous.
Anne
J'ai trouvé la réponse sur le forum de JComment voici :
The changes from 2.5.9 -> 2.5.11 (and probably also already in 2.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') {
Commentaire