Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • azizpbrimah Friend
    #162114

    I was able to get hwdVideoShare working with mod_jaclatest_comments by utilizing the “other components” field, but when I add another component to that field, the module displays no results. I want it to display both hwdVideoShare comments AND com_content comments.

    The syntax I’m using is:

    com_hwdvideoshare_v, com_content

    Is that correct?

    Please advise.

    Thanks,

    Zee

    nghiatd Friend
    #384020

    Hello,

    Please check this code:
    {jacomment contentid=ID option=com_HWDVideo contenttitle=TITLE}
    which, you are using to add comment in HWDVideo to show comment and copy exactly value of option EG: com_HWDVideo to “other components” of module.

    Best Regards.

    azizpbrimah Friend
    #384122

    nghiatd,

    Thanks for responding. I don’t know if you understood me. Comments from HWDvideo appear just fine in the latest comments module. That is not the problem. The problem is that when I list more than one component in the “other components” field of the module parameters, no comments show up. If I list just one component name, the comments will show, but if I list more than one component, no comments appear.

    The instructions say to separate each component name with a comma, but that doesn’t seem to work. The problem isn’t hwdvideo, but the module itself not showing more than one components comments.

    Please advise.

    Thanks,

    Zee

    nghiatd Friend
    #384232

    Hello,

    It would be much better for us to figure out, could you possibly provide me your ftp and admin account?
    You could send me your information via link:
    http://support.joomlart.com/index.php?/Tickets/Ticket/View/68852/-1/-1/-1

    Best Regards.

    nghiatd Friend
    #384529

    Hello,

    This is bug of latest comment module.

    Please open file modules/mod_latest_comments/helper.php
    Find the code default in line 122

    $where .= " AND cm.option in (".implode(',', $other_component).")";
    and replace it to

    for($i=0;$i<count($other_component);$i++){
    $other_component[$i] = $db->Quote($other_component[$i]);
    }
    $where .= " AND cm.option in (".implode(',', $other_component).")";

    We will release with this bug fixed in next version of jacomment http://pm.joomlart.com/browse/JACOMMENT-297

    Best Regards.

    azizpbrimah Friend
    #384530

    Details sent via ticket. Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  azizpbrimah 13 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum