+ Reply to Thread
Results 1 to 4 of 4

Thread: zipcode field on search on map page?

  1. #1

    zipcode field on search on map page?

    Dear Flynax,

    The zipcode field does not work on search on map page. You can check this on flynax demo under property tab:
    https://classifieds.demoflynax.com/s...erty_quick_tab

    Can we fix it? If not, please tell me how to remove it from search on map page only, where it doesn't work.

    Thank you
    Last edited by Wei Hong; September 29, 2019 at 04:05 PM.

  2. #2
    Hi, I'm still need advice on this matter

  3. #3
    Flynax developer John's Avatar
    Join Date
    Oct 2009
    Posts
    606
    Hi Wei, Wei is the first name right?
    The proper solution is removing all location related fields from the search forms on Search on Map page, because the Address lookup fields is already on map (see screenshot attached) and user should search the location using this field only.
    We are going to create new forms for Search on Map page in the next software update, so you will be able to manage forms on that page separately, now you can use the following instruction to remove zip and other location fields from the page:

    1. Open file: /includes/controllers/search_map.inc.php
    2. Add the following code
    PHP Code:
    Only registered members can view the code
    after line with code:
    PHP Code:
    Only registered members can view the code
    3. Check the attached file to see how it should looks like.

    You may list your field keys after 'b_zip' using comma as separator, for example: array('b_zip', 'country', 'country_level1')
    Attached Images Attached Images

  4. #4
    Hi John,

    Yes my first name is Wei,
    Your solution works well. It should remove any confusion users may have. A separated search form for search on map page would be great.

    Thank you

+ Reply to Thread