+ Reply to Thread
Results 1 to 9 of 9

Thread: Issue in Compare Listings plugin

  1. #1

    Issue in Compare Listings plugin

    Hello,

    Why the "Posted" field doesn't appear in Comparison Table?

    See attached pic.

    I hope to have an answer this time... :-(
    Attached Images Attached Images

  2. #2
    Hello Antonello,

    You need to change some code in file: ftp://classes>>rlListings.class.php find method: getListingDetails
    find code:
    PHP Code:
    Only registered members can view the code
    and replace to:
    PHP Code:
    Only registered members can view the code
    save and check again.
    Last edited by Viktor; May 15, 2023 at 11:26 AM.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Perfect, now it's ok! Thank you Viktor

  4. #4
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    248
    Hello, reagarding comparison plugin I notice that if a field is empty then that field is push to the bottom. That is not intuitive because we expect some listing does not have full info.
    For example I arrange a house for rent as

    Price
    Bedroom
    Bathroom
    Description
    State
    City
    Address
    Zipcode

    If for some reason the 1st listing does not have price, or bathroom input. The price and bathroom fields are dropped to the bottom. So when you look at the comparison table you will see


    Bedroom
    Description
    State
    City
    Address
    Zipcode
    Price
    Bathroom

    Looks very awkward isn't it? Is there anyway I can have the listing order unchanged regardless of the data is input or not?

    Thank you

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

    Make sure that the compared listings have the same listing form otherwise, the fields order will be adapted to the last listing form

  6. #6
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    248
    Quote Originally Posted by Rudi View Post
    Hello,

    Make sure that the compared listings have the same listing form otherwise, the fields order will be adapted to the last listing form
    Hi Rudi, yes listings are in the same category so the same listing form. You can test this on Flynax demo

    https://realty.demoflynax.com/compar...gent-test.html

    Very easy login to Flynax agent account, then go here:
    https://realty.demoflynax.com/proper...stal-property/

    Try adding the top 3 listing in comparison table:
    The Ultra Modern Dune Road Residence
    Beautiful Jelenovac Residence
    Spectacular Modern Luxury Residence

    You will see in the comparison table the description field is on top. Now try go to listing: The Ultra Modern Dune Road Residence and remove its' description. Check the comparison again. The description field will be drop to the bottom.

    This is similar to my example above, if one listing in my comparison table is missing price, then all of the sudden the price field is drop to the bottom of the comparison table. Very awkward

    If you arrange fields in order like

    price
    bedroom
    bathroom
    D
    E
    F
    G

    If a listing in comparison table is missing price and bathroom info then all listing in the comparison table is rearrange as:

    bathroom
    D
    E
    F
    G
    price
    bedroom

    bathroom info on top, then other info then price and bedroom at the bottom. Not so good don't you think
    Last edited by Tim Copper; May 18, 2023 at 07:15 AM.

  7. #7
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    248
    Hi Rudi,

    Did you have time to look into this issue?

    Thank you

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

    You need to modify this file: includes > classes > rlListings.class.php > public function getListingDetails

    find and replace this line below:

    PHP Code:
    Only registered members can view the code
    with:
    PHP Code:
    Only registered members can view the code

  9. #9
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    248
    [QUOTE=Rudi;37892]Hello Tim,

    You need to modify this file: includes > classes > rlListings.class.php > public function getListingDetails

    find and replace this line below:

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

    Hi Rudi,

    Thank you, I will forward this to my tech guys.

+ Reply to Thread