Home›Types Community Support›[Resolved] Filter the site using cred form with custom fields ( country & city) of non-user
[Resolved] Filter the site using cred form with custom fields ( country & city) of non-user
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This thread is resolved. Here is a description of the problem and solution.
Problem:
I want to know if I can filter my site according to users location ?
by making user submit a form contain his country , city and use these fields in content templates and filtering views automatically no manually ?
as I need to make a real estate website contain many cities and each city contain many posts
if user enter the site , I need him to select his location and the whole site show the content related to his location
and save these entries as cookies for his browser
Link to a page where the issue can be seen:
Is this possible using Toolset with Toolset Cred , Toolset Maps & Toolset views
Solution:
I assume you are going to achieve this:
Provide a test input box for user inputting address text, submit the form, then locate the address in the google map, and filter the results by distance range.
If it is, this is built-in feature of the latest version of Toolset Map plugin, see the document:
They enter the location and a distance radius within which to display markers. If your site is using HTTPS protocol, visitors can also use their own location as the center of the search.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
Hello , I want to know if I can filter my site according to users location ?
by making user submit a form contain his country , city and use these fields in content templates and filtering views automatically no manually ?
as I need to make a real estate website contain many cities and each city contain many posts
if user enter the site , I need him to select his location and the whole site show the content related to his location
and save these entries as cookies for his browser
Link to a page where the issue can be seen:
Is this possible using Toolset with Toolset Cred , Toolset Maps & Toolset views
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
Dear Drmohamed,
In the latest version of Toolset Map plugin, there is a new feature: https://toolset.com/download/toolset-maps/#changelog
Added the distance filter – a way to filter map markers by the distance to a given point.
and a search widget with location detection ( using address text not longitude and latitude numbers ) like this hidden link
with the same customizations if possibe
and when detect the location filter all views of site related to this widget to be suitable for place selected
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
I assume you are going to achieve this:
Provide a test input box for user inputting address text, submit the form, then locate the address in the google map, and filter the results by distance range.
Q2) Can I use a scroll line to select the distense instead of text input ?
No there isn't such a built-in feature with Toolset map plugin, if you agree, we can take it as a feature request.
I'm completely agree with making features like this
It makes developing with toolset tasty and design has much features
make something like filtering using scrol even for prices , distance any numbers from fields
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
As your request, I forward it to our supporter Beda, he manages the feature request of Toolset maps plugin, our developers will evaluate it, but there isn't any ETA for it, you can subscribe to our blog to get the updated news: https://toolset.com/blog/