I have a directory with a map. The directory listings are displayed 10 at a time using pagination but I would like all of the markers to show on them map, not just the 10 that are listed.
Is there any documentation that you are following?
Hello. Thank you for contacting the Toolset support.
I would like to know few things here - Lets assume you set 10 results per page, now, when user click on page 2, what is your expect result?
- Do you want to show those 10 results on map or you still want all results on the map?
Thanks for getting back to me. I have included the debug info. In answer to your question:
> I would like to know few things here - Lets assume you set 10 results per page, now, when user click on page 2, what is your expect > result?
> - Do you want to show those 10 results on map or you still want all results on the map?
Yes, I would like the pagination to only apply to the results list, not the map. So, when I click to page 2, I still want to see all results on the map.
But I would like the search filter on the page to apply to the map as well as to the results.
I will require to review your current custom search setup and then I will be able to guide you in the right direction.
Can you please share problem URL where you want to display the map with custom search and pagination as well as admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
To the above view - I've added the map and marker to the above view that will display the all markers without pagination and it will also respect the search filters as you can see I've added the "Filters" to the "Query Filter" section to above view.
Then, I've removed your existing map block that is no needed.
And I've also set your current view block on homepage "Directory search form" view's custom search setting to "Full page refresh when clicking Submit" as its required to get the value from URL params to filter the above view that shows the map marker.
- hidden link