integration with PhocaDownloadin your template folder create directories:
<your template>/html/com_phocadownload/category
from PhocaDownload copy category template file:
<joomla>/components/com_phocadownload/views/category/tmpl/default.php
to your template folder:
<joomla>/templates/<your template>/html/com_phocadownload/category/
Now, edit the file and paste this code is almost the end of file:
$comments = JPATH_SITE.DS.'components'.DS.'com_jcomments'.DS.'jcomments.php';
if (is_file($comments)) {
require_once($comments);
echo JComments::showComments($this->category[0]->id, 'com_phocadownload', $this->category[0]->title);
}
So:
}
echo '</center></div>';
}
echo '</form>';
// --== This our new code ==--
$comments = JPATH_SITE.DS.'components'.DS.'com_jcomments'.DS.'jcomments.php';
if (is_file($comments)) {
require_once($comments);
echo JComments::showComments($this->category[0]->id, 'com_phocadownload', $this->category[0]->title);
}
// --== This our new code ==--
} else {
echo '<h3> </h3>';
}