хм, мне казалось я это исправлял... замените JSITE_PATH на JPATH_SITE, а я пойду поправлю в том топике.
Что-то ничего не получается. Гляньте пожалуйста где я ошибаюсь
<div style='border:0px solid #800080;'>
<? if($this->params->get('showalbumcomments') ){ // show the comments
switch($this->params->get('commentsystem')){
case 'jomcomment':
echo $this->jomcomment;
break;
default:
/*if( $quants = count( $this->comments )){ ?>
<div class="comments_title"><? echo JText::_('Comments'). " (". $quants .")"; ?></div>
<div class="comments">
<? $k = 0;
foreach($this->comments as $comment){ ?>
<div class="comment comment_<? echo $k; ?>">
<div class="comment_name"><? echo $comment->username; ?></div>
<div class="date"><? echo JHTML::_('date', $comment->date, JText::_('DATE_FORMAT_LC2')); ?></div>
<div class="comment_text"><? echo $comment->comment; ?></div>
</div>
<? $k = 1 - $k;
} ?>
</div>
<? } ?>
<? if($user->id){ ?>
<div class="post_comment_title"><? echo JText::_('Post a comment'); ?></div>
<div class="comment_form">
<? $uri =& JFactory::getURI(); ?>
<form action="<? echo $uri->_uri; ?>" method="post">
<textarea name="comment" class="textarea_comment"></textarea>
<br />
<input type="submit" value="<? echo JText::_('Post comment'); ?>" />
<input type="hidden" name="album_id" value="<? echo $this->album->id; ?>" />
<input type="hidden" name="task" value="save_comment" />
<input type="hidden" name="comment_type" value="album" />
<input type="hidden" name="option" value="com_muscol" />
</form>
</div>
<? } ?>*/
<?php $commentsPath = JPATH_SITE.'/components/com_jcomments/jcomments.php';
if (file_exists($commentsPath))
{
require_once($commentsPath);
echo JComments::showComments($this->album->id, 'com_muscol', $this->album->name);
}
?>
<? break; }?>