1. Open file gigcal.php (<joomla>/components/com_gigcal/gigcal.php), find (for me line 91):
case 'details':
if(($gigconfig['menu_top']) && ($gigconfig['menu_details'])) echo $gigcal_menu;
if(isset($_GET['day'])) { require_once('daydetails.php'); }
if(isset($_GET['gigcal_gigs_id'])) { require_once('gigdetails.php'); }
if(isset($_GET['gigcal_bands_id'])) { require_once('banddetails.php'); }
if(isset($_GET['gigcal_venues_id'])) { require_once('venuedetails.php'); }
and after add lines:
if (isset($_GET['gigcal_gigs_id'])) {
global $mosConfig_absolute_path;
$comments = $mosConfig_absolute_path . '/components/com_jcomments/jcomments.php';
if (file_exists($comments)) {
require_once($comments);
echo JComments::showComments(intval($_GET['gigcal_gigs_id']), 'com_gigcal');
}
}
, result:
case 'details':
if(($gigconfig['menu_top']) && ($gigconfig['menu_details'])) echo $gigcal_menu;
if(isset($_GET['day'])) { require_once('daydetails.php'); }
if(isset($_GET['gigcal_gigs_id'])) { require_once('gigdetails.php'); }
if(isset($_GET['gigcal_bands_id'])) { require_once('banddetails.php'); }
if(isset($_GET['gigcal_venues_id'])) { require_once('venuedetails.php'); }
// our code start
if (isset($_GET['gigcal_gigs_id'])) {
global $mosConfig_absolute_path;
$comments = $mosConfig_absolute_path . '/components/com_jcomments/jcomments.php';
if (file_exists($comments)) {
require_once($comments);
echo JComments::showComments(intval($_GET['gigcal_gigs_id']), 'com_gigcal');
}
}
// our code end
if(($gigconfig['menu_bottom']) && ($gigconfig['menu_details'])) echo "<br />" . $gigcal_menu;
break;
2. copy plugin com_gigcal.plugin.php (in attachments) to <joomla>/components/com_jcomments/plugins
3. test, and reply
