+ Reply to Thread
Results 1 to 5 of 5

Thread: Show rating stars

  1. #1

    Show rating stars

    Hello. how can we show listing rating stars even if no rating has been made by a user? thanks

  2. #2
    Not sure that understand your goal, maybe following changes is what you need:

    plugins/rating/listing.tpl

    Code:
    Only registered members can view the code.
    change to (remove condition)


    Code:
    Only registered members can view the code.

  3. #3
    Quote Originally Posted by Mike F. View Post
    Not sure that understand your goal, maybe following changes is what you need:

    plugins/rating/listing.tpl

    Code:
    Only registered members can view the code.
    change to (remove condition)


    Code:
    Only registered members can view the code.
    not working. let me explain better in this case

    right now, in grid/list view mode, we see the 5 stars to an ad only when a user rate that ad. i want to show on all ads the 5 stars. if that ad received a rating, stars will show yellow. if not, stars will not be yellow.

  4. #4
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    Hi Petrache,

    thats working
    In plugins/rating/listing.tpl you can see

    PHP Code:
    Only registered members can view the code
    Then it should look like this

    PHP Code:
    Only registered members can view the code

  5. #5
    [QUOTE=Steffen Buschkemper;2803]Hi Petrache,

    thats working
    In plugins/rating/listing.tpl you can see

    PHP Code:
    Only registered members can view the code
    Then it should look like this

    PHP Code:
    Only registered members can view the code
    /QUOTE]

    i have hidden {if $listing.lr_rating} and the closing if and that didn't work in my case. i do have a modified structure and maybee becouse of that is not working. i have separate file for list and grid view with lib.js customised. anyway, thanks for the help

+ Reply to Thread