Forums › Forums › Search & Filter Pro › SFP doesn't load search results page from a bootstrap modal window
- This topic has 8 replies, 2 voices, and was last updated 7 years, 10 months ago by Anonymous.
-
Anonymous(Private) December 19, 2016 at 11:17 pm #77681
hello SFP,
I have a search form in a bootstrap modal window. When you submit, the search query terms are added to the URL, but you are not redirected to the search results page. As an experiment, I exposed this same search form in the main content area without using the modal. It works perfectly. Any ideas why this is not working for a modal?
You can try it here:
http://uvmmc-hl.partisanpixel.com/
first try the form just under the main navigation. Then try the search by going to the bottom of the page and selecting the box “Browse and Search Highlight’s Archive”.I’m on WP 4.7, using SFP 2.2.
The search form uses a shortcode and displays results with a customized version of results.php in the search-filter/template directory.
The results URL is http://uvmmc-hl.partisanpixel.com/search, using page-search.php to echo the shortcode for result.Any insight or feedback is appreciated.
thx,
MichaelTrevor(Private) December 20, 2016 at 11:59 am #77739I am inspecting the form on the modal and its container is this:
<form role="search" lpformnum="24">
Using the search at the top of the page, the resulting url, which looks right, is:
http://uvmmc-hl.partisanpixel.com/search/?_sf_s=Vermont
But the modal form gives this:
http://uvmmc-hl.partisanpixel.com/?_sf_search%5B0%5D=vermont&_sf_submit=Search
Which is not right.
-
AuthorPosts