JComments component integration to AdsManager 2.6
1. Open file /components/com_adsmanager/adsmanager.html.php
2. Find the following lines:
<?php if ($unique == 1) { ?>
<div class="back_button">
<a href='javascript:history.go(-1)'>
<?php echo ADSMANAGER_BACK_TEXT; ?>
</a>
</div>
<?php
} else {
echo "<br />";
}
?>
and insert the following code after:
<?php
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_adsmanager', $row->ad_headline);
}
?>
not work with AdsManager 2.6
please help