Integration of JComments to EasyFAQ
|
EasyFaq — component to create the section with frequently questions and answers (FAQ). The given integration allows visitors leave the comments to questions and answers. This feature will allow visitors tell thier opinions, reviews about given answers.
- Open file /components/com_easyfaq/easyfaq.html.php
- Find the following lines:
if( $params->get( 'item_navigation' ) ){
HTML_easyfaq::printNavigation($row, $params);
}
and insert after:
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_easyfaq', $row->title);
}
See also:
|