+ Reply to Thread
Results 1 to 7 of 7

Thread: how to add seller info on listing type ?

  1. #1
    Senior Member
    Join Date
    Aug 2014
    Posts
    163

    how to add seller info on listing type ?

    Hi,

    How to add the info (photo) of the seller in the standard listings ? to the search ?

    file > listing_type.inc.php

    Code:
    Only registered members can view the code.

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

    if you need to add seller info to each listing on the browse page,

    go to includes > classes > rlListings.class.php > public function getListings

    modify the line:
    PHP Code:
    Only registered members can view the code
    as:
    PHP Code:
    Only registered members can view the code
    then after the line:
    PHP Code:
    Only registered members can view the code
    add:
    PHP Code:
    Only registered members can view the code
    now you can access your fields in listing.tpl via {$listing}

  3. #3
    Senior Member
    Join Date
    Aug 2014
    Posts
    163
    Hi rudi,

    sorry but I look stupid, because I can't add company_name and photo :s

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    you need to change the line like that:

    PHP Code:
    Only registered members can view the code
    otherwise, it will require a customization

  5. #5
    Senior Member
    Join Date
    Aug 2014
    Posts
    163
    Ok I test Now
    Last edited by Blackred; December 8, 2020 at 08:54 PM.

  6. #6
    Senior Member
    Join Date
    Aug 2014
    Posts
    163
    Sorry, thank you It's Work fine
    Last edited by Blackred; December 8, 2020 at 09:02 PM.

  7. #7
    Senior Member
    Join Date
    Nov 2021
    Posts
    163
    Hi! Please tell us how you managed to display the photo.

+ Reply to Thread