PDA

Zobacz pełną wersję : Problem z artykułami



Jadek
25-05-2013, 21:46
Witam. Mam problem z artykułami. Mianowicie mam zainstalowany moduł, który wyświetla 3 ostatnie artykuły, lecz gdy naciskam aby zobaczyc dany artykuł w pełni to wyskakuje error:

Fatal error: Class 'JCommentsContentPluginHelper' not found in html/com_content/article/default.php on line 149
A oto linijki z tego skryptu:

<?php /** Begin JComment count **/ //linijka 145
$comments = JPATH_SITE . '/components/com_jcomments/jcomments.php';
if (file_exists($comments) ) :
require_once($comments);
if (JCommentsContentPluginHelper::checkCategory($this->article->catid) && (JCommentsContentPluginHelper::isEnabled($this->article, false) || !JCommentsContentPluginHelper::isDisabled($this->article, false))): //linijka 149

$jcomment_count = JComments::getCommentsCount($this->article->id, 'com_content');
?>

Proszę o pomoc, z góry dziękuję.