Так, небольшое решение подкину, а уж внешний вид, думаю и сами настроите.
1. Открываем файл /modules/mod_newsflash/tmpl/default.php и после строчки:
$item = $list[$flashnum];
добавляем:
$comments = JPATH_SITE . DS . 'components' . DS . 'com_jcomments' . DS . 'jcomments.php';
if (file_exists($comments)) {
require_once($comments);
require_once (JCOMMENTS_HELPERS . DS . 'contentplugin.php');
if (JCommentsContentPluginHelper::checkCategory($item->catid)) {
$item->comments = JComments::getCommentsCount($item->id, 'com_content');
}
}
2. Открываем файл /modules/mod_newsflash/tmpl/vert.php и перед строчкой:
modNewsFlashHelper::renderItem($list[$i], $params, $access);
добавляем:
$comments = JPATH_SITE . DS . 'components' . DS . 'com_jcomments' . DS . 'jcomments.php';
if (file_exists($comments)) {
require_once($comments);
require_once (JCOMMENTS_HELPERS . DS . 'contentplugin.php');
if (JCommentsContentPluginHelper::checkCategory($list[$i]->catid)) {
$list[$i]->comments = JComments::getCommentsCount($list[$i]->id, 'com_content');
}
}
3. Открываем файл /modules/mod_newsflash/tmpl/horiz.php и после строчки:
<?php foreach ($list as $item) : ?>
добавляем:
<?php $comments = JPATH_SITE . DS . 'components' . DS . 'com_jcomments' . DS . 'jcomments.php';
if (file_exists($comments)) {
require_once($comments);
require_once (JCOMMENTS_HELPERS . DS . 'contentplugin.php');
if (JCommentsContentPluginHelper::checkCategory($item->catid)) {
$item->comments = JComments::getCommentsCount($item->id, 'com_content');
}
}?>
4. Открываем файл /modules/mod_newsflash/tmpl/_item.php и после кода:
<?php if (isset($item->linkOn) && $item->readmore && $params->get('readmore')) :
echo '<a class="readmore" href="'.$item->linkOn.'">'.$item->linkText.'</a>';
endif; ?>
добавляем:
<?php if (isset($item->linkOn) && isset($item->comments)) :
echo ($item->comments ? ('Comments (<a class="readmore" href="'.$item->linkOn.'#comments">'.$item->comments.'</a>)') : ('<a class="readmore" href="'.$item->linkOn.'#addcomment">Add comment</a>'));
endif; ?>
Вот собственно и все... Реквизиты для благодарностей у меня в подписи...