Search:

Type: Posts; User: Rudi

Search: Search took 0.01 seconds.

  1. Thread: Result Custom

    by Rudi
    Replies
    10
    Views
    6,233

    Instead of {foreach} you can use {if} condition...

    Instead of {foreach} you can use {if} condition along with in_array method like that:



    {assign var=items value=","|explode:$listing_data.YOUR_FIELD_KEY}

    {if...
  2. Thread: Result Custom

    by Rudi
    Replies
    10
    Views
    6,233

    Hello, The same way, but instead of using:...

    Hello,

    The same way,

    but instead of using:



    {if $item == 1}
    ... your code ...
  3. Thread: Result Custom

    by Rudi
    Replies
    10
    Views
    6,233

    The checkbox values are combined in one string...

    The checkbox values are combined in one string with a comma like '1,2,3,5'

    you should divide them by comma assigning to a new value:


    {assign var=items...
  4. Thread: Result Custom

    by Rudi
    Replies
    10
    Views
    6,233

    Hello Blackred, - On what page you need to use...

    Hello Blackred,

    - On what page you need to use this code and where in the script you insert it?
    - What is the type of field 'immo_equipements_du_bien'?
Results 1 to 4 of 4