+ Reply to Thread
Results 1 to 7 of 7

Thread: Comments

  1. #1
    Senior Member
    Join Date
    Aug 2013
    Posts
    121

    Comments

    Hi All,

    On the tabs, how to get comments (number of comments)

    Many thanks

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello,

    Go to templates > your_tempalte > tpl > controllers > listing_details.tpl > find below a line <!-- tabs -->

    replace:
    Code:
    Only registered members can view the code.
    with:
    Code:
    Only registered members can view the code.

    then go to plugins > comment > comment_dom.tpl

    at the bottom, add before {else}:
    Code:
    Only registered members can view the code.
    Last edited by Rudi; November 2, 2021 at 04:01 AM.

  3. #3
    Senior Member
    Join Date
    Aug 2013
    Posts
    121
    Hi Rudi,

    I did as the code above, it is showing correctly when I refresh a listing. But when I refresh the listing for a second time then it is showing like comments (0) for all listings with and without comments!

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Ok, I've corrected my previous post

  5. #5
    Senior Member
    Join Date
    Aug 2013
    Posts
    121
    Hi Rudi,

    It is working perfectly now.

    And If anyone asking me why I have chosen Flynax, I would say that those guys are "THE ANGELS OF CODES"

    Many thanks

  6. #6
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    I've edited my post again (the second part)

    now it should work properly

  7. #7
    Senior Member
    Join Date
    Aug 2013
    Posts
    121
    Hi Rudi,

    It is working properly now, many thanks

+ Reply to Thread