Integration of JComments to EasyCalendar
|
- Open file /components/com_easycalendar/easycalendar.html.php
- Find lines:
echo '</table>';
mosHTML::BackButton($params);
and replace with following code:
echo '</table>';
global $mosConfig_absolute_path;
$comments = $mosConfig_absolute_path . '/components/com_jcomments/jcomments.php';
if (file_exists($comments)) {
require_once($comments);
echo JComments::showComments($row->id, 'com_easycalendar', $row->name);
}
mosHTML::BackButton($params);
See also:
|