JComments

Integration of JComments to Cinema media catalogue

Cinema — media catalogue component for Joomla. The offered to your attention integration allows visitors to leave comments to catalogue's items (for examples, films).

  1. Open file /components/com_cinema/cinemadetails.php
  2. Find lines:
        if ($cin_showcomment) {
        if ($allowcomment) {
    and replace with:
    /*
        if ($cin_showcomment) {
        if ($allowcomment) { 
  3. Then find the line:
        if ($cin_acaso) {
    and replace with:
    */
        if ($cin_acaso) {
  4. At the file end find the lines:
        echo "<br />";
    ?>
    and replace with:
      if ($cin_showcomment && $allowcomment) {
        global $mosConfig_absolute_path;
        $comments = $mosConfig_absolute_path . '/components/com_jcomments/jcomments.php';
        if (file_exists($comments)) {
          require_once($comments);
          echo JComments::showComments($id, 'com_cinema', $imgtitle);
        }
      }
     
        echo "<br />";
    ?>

See also:

 
JoomlaTune