+ Reply to Thread
Results 1 to 6 of 6

Thread: Result Custom

  1. #1

    Result Custom

    It must be late, but I can not display all the results! Only one result is taken into account.

    Code:
    Only registered members can view the code.
    Last edited by Blackred; January 14, 2018 at 02:14 AM.

  2. #2
    What is the function that displays all options checker ? Any idea ?

  3. #3
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Posts
    84
    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'?

  4. #4
    Hello Rudi,

    This is on the result of a listing-details.tpl page
    I did not keep the basic function because I change a lot of things, but I must say that I block on this part.
    This is an option of an announcement in checkbox

    Exemple : https://www.zoomprovence.fr/immobili...ssanne-75.html
    > Commodit

  5. #5
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Posts
    84
    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:
    Code:
    Only registered members can view the code.
    then use your new variable {$items} and iterate it to check its values like this:
    Code:
    Only registered members can view the code.
    so in your case it should look like:
    Code:
    Only registered members can view the code.

  6. #6
    Hello Rudi,

    Thank You Very much !!!

+ Reply to Thread