+ Reply to Thread
Results 1 to 2 of 2

Thread: price in short form in Auto Template

  1. #1

    price in short form in Auto Template

    I want to know the variable to display the price in the short form below model.
    I've seen to show the ad published sampler takes the following code:

    Code:
    Only registered members can view the code.
    So I imagine that similar lake could put the price, but not variables.

    greetings
    Javier S.L.

  2. #2

    Re: price in short form in Auto Template

    Hello,

    If you want to put just price (i mean no other fields in future you can do next).


    open includes/classes/rlListings.class.php

    find function getListings (for browse pages)

    Code:
    Only registered members can view the code.
    you have to make same changes to the rlSearch.class.php - function search if you want the same for search results


    make sure that price is the right key of your price field (can be lf_price)


    then you can add

    Code:
    Only registered members can view the code.
    to templates/your_templates/blocks/listing.tpl

+ Reply to Thread