TreeView Multi Select Categories for Searching

This topic contains 8 replies, has 2 voices, and was last updated by  Paolo 9 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: , ,

  • Author
    Posts
  • #58573

    vertexhkraymond
    Expired Member
    Post count: 16

    Hi, I’m new to use geodir, anyone know how can I add a Treeview like multi-select categories field in the search bar?

    Thanks!

    #58610

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you’ll need the advance search filters add-on installed.

    https://wpgeodirectory.com/docs/advanced-search-filters-addon-search-by-distance/

    Let us know if this helps.

    Thanks

    #58639

    vertexhkraymond
    Expired Member
    Post count: 16

    Hi,

    No, Is it possible to have a tree with checkbox next to the categories which allow multi-select for searching

    Thanks a lot!

    #58669

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    if you go to GeoDirectory >> Place Settings and add Category as an advance filter, than you can make them appear as checkbox.

    See image attached for settings.

    However the search works using the AND criteria, so if you select 2 or more categories it will only return listings that belongs to all catgeories selected.

    Anything else, would require a customization of the advance search widget and its queries.

    Hope this helps.

    Thanks

    #58744

    vertexhkraymond
    Expired Member
    Post count: 16

    Yes, I would like to use “OR” within categories, may I know where should I amend the code for apply “OR” in the queries? Thanks a lot!

    #58780

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I know that from next version you will have an option to select if search should be using AND or OR for custom fields.

    I’d advise against doing this edits yourself or you will lose the option to update without losing your customizations.

    Thank you

    #58834

    vertexhkraymond
    Expired Member
    Post count: 16

    Hi,

    That’s good, but when will the next version be launched? I need to have this options within a very short period for the site test and launch.

    Thanks!

    #58835

    vertexhkraymond
    Expired Member
    Post count: 16

    Hi,

    May I have the exact location of the ‘OR’ and ‘AND’ for filtering multi categories within gd_placecategory?

    Thanks a lot!

    #58904

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    the new version should be released tomorrow, please be patient.

    We don’t provide support for complex customization. It is not just a matter to change one AND to and OR. It is much more complex than that.

    Thanks

Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount