+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: search on map not working in change category

  1. #1

    search on map not working in change category

    Search on map does not work in category change. check with demo version.

  2. #2
    Quote Originally Posted by Bahram Soltanirad View Post
    Search on map does not work in category change. check with demo version.
    Also it does not accept checkbox fields.
    Actually you missed to put proper code for checkboxes in template/tpl/blocks/fields_search_horizontal.tpl

  3. #3
    Yes I just check and search on map does not work when changing category. I haven't tried the check box yet
    Please provide fix here so we can apply.
    Thank you

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

    Go to your ftp > templates > your template > js > lib.js > this.mapSearch and find a code at the bottom:

    Code:
    Only registered members can view the code.
    change it to:

    Code:
    Only registered members can view the code.

  5. #5
    Thanks Rudi, I confirmed that this fixed the problem of changing category doesn't reflex results.
    I changed two codes in lib.js as described by Rudi

  6. #6
    Quote Originally Posted by Rudi View Post
    Hello,

    Go to your ftp > templates > your template > js > lib.js > this.mapSearch and find a code at the bottom:

    Code:
    Only registered members can view the code.
    change it to:

    Code:
    Only registered members can view the code.
    Quote Originally Posted by Bahram Soltanirad View Post
    Also it does not accept checkbox fields.
    Actually you missed to put proper code for checkboxes in
    template/tpl/blocks/fields_search_horizontal.tpl
    Thank you Rudi and Wei, is it possible to reply my second request in red?

  7. #7
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,162
    Ok,

    add this code at the bottom of fields_search_horizontal.tpl before the last {/if}:

    Code:
    Only registered members can view the code.
    and in lib.js change that string to:

    Code:
    Only registered members can view the code.
    Last edited by Rudi; February 6, 2018 at 08:53 AM.

  8. #8
    Thanks Rudi, checkbox selection does not work.
    Last edited by Bahram Soltanirad; February 5, 2018 at 11:22 AM.

  9. #9
    Quote Originally Posted by Rudi View Post
    Ok,

    add this code at the bottom of fields_search_horizontal.tpl before the last {/if}:

    Code:
    Only registered members can view the code.
    and in lib.js change that string to:

    Code:
    Only registered members can view the code.
    Hi Rudi,

    It worked perfectly with the checkbox in search on map. Thank you

  10. #10
    Quote Originally Posted by Wei Hong View Post
    Hi Rudi,

    It worked perfectly with the checkbox in search on map. Thank you
    Wei, are you sure it works for checkbox selection?

+ Reply to Thread