• Mockba
    January 3, 2014 at 10:00 pm #16079

    Hi there,

    Just wanted to add some search functions into the Advanced Search Panel. I’ve removed type filters (Lines 87-98 from googlemapforms.php). I want to add features eg from the image below:


    Any help is really appreciated.

    January 5, 2014 at 9:18 am #16476

    I;m not sure i understand what you want to add and where do you want to add , but

    The code for checkbox list is in libs/templates/adv-search1.php . For first row look around line 44 and for the second around line 61.

    Come back with more details if this is not what you need and good luck 🙂

    January 5, 2014 at 11:58 am #16511

    Let me describe you this way:

    This is the current theme function:

    What I need is to list “amenities and features” e.g attic, wine cellar, gym, pool, balcony etc. instead of “properties categories” e.g apartments, condos, villas etc.

    Settings are located in googlemapforms.php at line 3-7. There’s a category for properties but there’s no category or section for the “amenities and features”

    My question was how to list “amenities and features” in the advanced search widget.Is there any easy way to list it or do I have to create another category for the “features”?

    January 6, 2014 at 7:07 pm #16902

    OK, I think i understand now.

    You have a looooooooot of work to do and you need to be fluent in php, html, css and js . These are general steps , doing this in detail will take a lot of time.

    first of look into single-estate_property.php around line 325 and see how the list of features and amenities is read.

    then in adv-search1.php – put the code that reads the features and add the checkboxes

    i suggest that all those checkbox inputs to be sent as array to advanced-search-results.php

    then in advanced-search-results.php you need to construct a query that will filter the listings according to your search input data.

    If you want the same behaviour on the map – you need to add those ammenities in a transporting array to js. This is done in function listing_pins() in pin-management

    The you need to read the click events on the new checkboxes and in the google js files to set visible/invisible the pins

    January 17, 2014 at 3:24 pm #19140

    I’ve followed different way tho. Listing the arrays into the advanced search option was much more easy.

    January 17, 2014 at 10:29 pm #19156

    Can you please tell me where I can set the default array for the “features listing?”
    If you don’t check the box on the front end, database record it as blank. ( see the attachment)

    I couldn’t find the code where you can set any default.


    January 19, 2014 at 1:56 pm #19263

    What do you mean by default array ? When is installed ?

    January 24, 2014 at 4:05 pm #19890

    Nevermind. Found it!

    June 9, 2014 at 5:10 am #41115

    I don’t have the programming skill of Mockba, and I quickly realized that Advanced Search seems more like basic search when it doesn’t have the ability to search filters by Property Features such as “Furnished, Unsurnished, Serviced, Unserviced, Pool, Garage, Fitness Center, Tennis Court, etc. etc.
    I assume this is what Mockba is trying to accomplish and I was wondering if there are any plans for allowing users to create truly Advanced Search Pages. If we can already, I’m missing it.
    I noticed that in theme options there is the “Listings Custom Fields”, so it would seem like you were on track to implementing such an Advanced Search feature, but Alas I am at a loss.
    If I am missing something, please direct me. Otherwise, will we ever get truly Advanced Custom Search fields/pages.


    June 10, 2014 at 6:13 am #41360


    June 10, 2014 at 12:45 pm #41475

    Hi Tony,

    Thank you for the post.

    Adding Features and Amenities in Advanced Search is something we don’t have now, but we plan to add in the future, after we release the booking plugin. Wishlist looks like this:

    – booking plugin
    – email search alerts
    – features and amenities in advanced search (we will go with one type probably type 4 – because it has the most space)
    – user profile custom fields
    – floor plan plugin

    Thanks again for the suggestion.


You must be logged in to reply to this topic.

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.