Forums › Forums › Search & Filter Pro › A couple of questions.
- This topic has 6 replies, 2 voices, and was last updated 10 years, 9 months ago by
Anonymous.
-
Anonymous(Private) January 8, 2016 at 5:04 pm #33688
I have this mainly working on a demo sit for a client – thanks for the great plugin BTW.
I had some issues trying to integrate it as archive, but Ive amended the template and thats fine with the shortcode.
A few things Im wondering though.
Rather than the Sort Order having to specify ascending or descending and a drop down option, can we select the sort criteria and then have another menu for ascending or descending?
I have it so that when you click a search result the result page has a search form on the left, and Id like it so that theres no search results until the users enters some criteria then Ajax should clear the Div on the right with the previous result that someone had clicked in and fill it with he search results? Is this clear?
Im guessing id need to get my archive working so it can replace the div, but even if I use shortcode (which wouldn’t be too bad to have the results ABOVE the item the user clicked on) the searches are all initially made, so there is a set of default searches above the item. Is this clear? Probably needs more explanation.I currently have the homepage which doesnt use AJAX, you click search and go to a result pages.
That same results page uses ajax so you can fine tune the search there, or actually start from there if you’ve clicked a menu.
The you click on the chosen search result item and go to its page which has a search on the side bar and id like that sidebar search to dynamically (AJAX) replace the result item?Ross Moderator(Private) January 12, 2016 at 12:55 am #33967Hey Matthew to Answer your questions:
Rather than the Sort Order having to specify ascending or descending and a drop down option, can we select the sort criteria and then have another menu for ascending or descending?
For now, I’m afraid not.
I have it so that when you click a search result the result page has a search form on the left, and Id like it so that theres no search results until the users enters some criteria
This is not built in, but something similar could be achieved.
You could hide the results with CSS. Then, when the results are loaded in, you can show the results with JS. You can find the JS to do this in the first question of the FAQs:
http://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/
For your third question, I’m afraid I don’t completely follow, could you explain again?
Thanks
Anonymous(Private) January 12, 2016 at 9:12 am #33979Thanks.
Would be great if the first option about the sort order could be implemented.
You’ll be pleased to hear Ive managed the other 2 with a js event on the submit to show the div.
Im admittedly not brilliant with js, but I have it as an onsubmit event for the form, it doesnt update and show the div when you change values in the search, only when you hit submit – though TBH it doesnt bother me too much as thats the action I want, its just interesting that Id expect it to have updated with the sliders.
Of course once submit is clicked and the div appears (I also hide the div for the single boat result) when you adjust the search the ajax result update live, which is great.
That is my third point and its working now, thanks.
-
AuthorPosts