+ Reply to Thread
Results 1 to 3 of 3

Thread: Fields values showing in list view mode

  1. #1

    Fields values showing in list view mode

    Hello.
    In general responsive we have
    Code:
    Only registered members can view the code.
    In escort flatty we have
    Code:
    Only registered members can view the code.
    In realty we have
    Code:
    Only registered members can view the code.
    General and realty use the same code but in the end all of them generates different values.

    My question is exactly how can we control and force a value (a field) to show from the list of fields that we have? I am asking this because i am using general flatty which should show the New/Used value but it will not, even with untouched code in listing.tpl. When i inspect the area, i have just <li class="fields"> </li> instead of <li class="fields">New</li>.

    If i try to force it by adding {$listing.condition}, instead of showing Used it shows 1?

    Further, i tried a experiment by adding {$listing.b_states},{$listing.b_states_level1} and instead of France, Corsica the script shows france, france_corsica which is wrong. Why the script doesn't show the fields values as they look in listing detail page or in Location dropdowns?

    Thanks
    Last edited by Petrache Nicolae; September 28, 2014 at 08:04 AM.

  2. #2
    Hello Petrache Nicolae,

    For condition field you can create code:
    Code:
    Only registered members can view the code.
    for field state you can create code:
    Code:
    Only registered members can view the code.
    and then use it: {$lang.$state_key} but if you use values for state from multifields you can set: multi_formats instead of: data_formats
    I show you only 1 variant for set values from fields but exist many other ways for get values from listing fields.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    both solutions worked so a big thank you Viktor

+ Reply to Thread