+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Name of the seller in the listing

  1. #1

    Name of the seller in the listing

    Hi,
    I need to display the name of the ad seller/dealer in the list of ads.

    I tried with this code {$seller_info.Full_name} but does not appear...

    In addition to the name, I also need the profile pic but this does not appear.

    Can you help me? thanks
    Attached Images Attached Images

  2. #2
    no one can help me?

  3. #3
    Hello Maurizio,

    It happens because doesn't exist seller_info variable on browse page.
    you should go to ftp://includes>>classes>>rlListings.class.php and find method: getListings then find code:

    Code:
    Only registered members can view the code.
    and add new on next line:

    Code:
    Only registered members can view the code.
    __________________________________________________ __________
    then find method getListingsByAccount and code:

    Code:
    Only registered members can view the code.
    and add new on next line:

    Code:
    Only registered members can view the code.
    __________________________________________________ _____

    then find method getRecentlyAdded and code:

    Code:
    Only registered members can view the code.
    and add new on next line:

    Code:
    Only registered members can view the code.
    _____________________________________________
    save and close this file.

    then open file ftp://includes>>classes>>rlSearch.class.php and find method: method 'search' and code:

    Code:
    Only registered members can view the code.
    and add new on next line:

    Code:
    Only registered members can view the code.
    save it. And then you can open ftp://templates>>your_template>>tpl>>blocks>>listing.tpl
    and use {$listing.Full_name} and {$listing.Account_photo} - (here path to image only)
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Thanks Victor, it works fine!!

  5. #5
    Hi Viktor,
    Can you please explain the last step where to add in listing.tpl.Thank you

  6. #6
    Hello Hareesh,

    You can insert it in any place in the file. Where do you need it? Show me place in screenshot.
    Viktor,
    Flynax technical department,
    Best wishes.

  7. #7
    Hi Viktor,
    Thanks for quick reply.user image.JPG
    Grid layout /list layout.If possible in Listing Detail as well.

    thank you

  8. #8
    Hello Hareesh,

    Do you use switcher for listings? Because if you use switcher needs more changes in js file too.
    Viktor,
    Flynax technical department,
    Best wishes.

  9. #9
    What if I wanted to change that to the personal address of the seller instead of the name? How would I go about that please?

  10. #10
    Hello Abraham,

    What version of software do you use? I think we solved it in 4.3 and if you insert new code in listing.tpl file it should work properly. But if you have any problems with it will be better create a ticket.
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread