Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • davidyv Friend
    #160540

    Hi,

    I need JA Comment zone will be folded, with a link “See the comments” to unfold the comments zone. how could i do? Thanks!

    thuanlq Friend
    #378733

    Hi Davidyv,

    You can make “see the comments” will be folded, please do as following:
    – Open the file “total.php” in the folder “components/com_jacomment/themes/default/html/comments/”, then replace this line code:


    <h2 class="componentheading"><span id="jac-number-total-comment"><?php echo $this->totalAll; ?> <?php if($this->totalAll > 1){echo JText::_("Comments");}else{echo JText::_("Comment");}?></span>

    To


    <h2 class="componentheading"><span id="jac-number-total-comment" onclick="foldedComment()"><?php echo JText::_("See the comments"); ?></span>

    – Open the file “ja.comment.js” in the folder “componentscom_jacommentassetjs”, then define the “foldedComment()” function to fole and unfold the comments zone.

    Good luck!

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

This topic contains 2 replies, has 2 voices, and was last updated by  thuanlq 13 years, 8 months ago.

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