Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterThanks. I got the details, edited out your post to prevent security risks.
I will take a look at it ass soon as I can. Might take a day, I’m bit overwhelmed with other tickets as well.
Ernest Marcinko
KeymasterHi!
If you mean the red search bar on the front page then.
1. On the theme selector you should select the “Demo – Home isotopic” it’s somewhere around the bottom of the list. Wait a few seconds as it loads.
2. Save the search. It should look then exactly like that.
If you want to move the results from under the search to a different position, there is a description on how to do that in the documentation:
http://wp-dreams.com/demo/wp-ajax-search-pro3/docs/#positioning_the_results_elswhereErnest Marcinko
KeymasterHi!
Unfortunately it’s working for me on both test servers without issues, but I still think it’s theme though, we must have different servers.
Can you provide temporary ftp and administrator access to the website? All I can do is turn on the debug mode and see if there are any errors there. I feel like the saving process is intercepted by a hidden error.
Ernest Marcinko
KeymasterWe still have customers for with older browsers yet (ie7 and 8). It’s deprecated, so it’s going to get removed in the upcoming version and replaced by html5 placeholder.
Ernest Marcinko
KeymasterHi!
The force inline styles options was disabled on the compatibility options panel. It should work now.
Ernest Marcinko
KeymasterI don’t think that’s the problem. Are these multisite sites or each one is an individual wordpress installation?
Since the search is returning something, it means that it’s most likely a configuration issue.
What type of content are you searching? If you create a new search form and try that on one of the sites, is it working?
Ernest Marcinko
KeymasterYes, most likely then. Can you attach a copy of the theme? I might be able to reproduce the issue on my local test server.
Ernest Marcinko
KeymasterHi!
Try the following:
function asp_mimic_shortcode( $atts ) { return do_shortcode('[wpdreams_ajaxsearchpro id=1]'); } add_shortcode('wpdreams_ajaxsearchlite', 'asp_mimic_shortcode');You might have to change the id, but I think this should work.
Ernest Marcinko
KeymasterHi!
Were the results showing before?
Nothing on the backend area is saving, or only the custom post types? Is there any error code showing up in the search bar?
You should try disabling all plugins and switching the theme to default to see if it works then. If not, then it’s most likely an incompatibility with the server configuration. If yes, then it’s a plugin/theme interference.
Never encountered this issue before, so this might be a new bug or something else.
Ernest Marcinko
KeymasterOh sorry, that’s not what you meant. It is on the Layout options, but under the Behaviour tab: http://i.imgur.com/IVRbwhU.png
August 28, 2014 at 8:25 am in reply to: Showing the search results on the search page (i.e. going without the Ajax) #2302Ernest Marcinko
KeymasterHi!
Nice job there. Yesterday I was thinking about this whole integration thing. I think I know what should I do – an API for the search. If I managed to create a documented API, then the integration to the default wordpress search would be so easy. To be honest the search code is still too messy. So many things had changed from previous versions and I had to maintain the backwards compatibility – that was a pain in the ass and a lots of unnecessary code. And of course my skills have also improved, so there is some nice code mixed with worse. (mostly on the backend)
Still, an API would open up the plugin features for devs like you, and perhaps my future work would be much much easier in terms of integrating new features.
Thanks for the kind words, and you indeed did a nice job integrating the search this fast. I don’t meet developers in this forum too often.
Ernest Marcinko
KeymasterHi!
You don’t need to modify any files for that. You can chage it on the layout options panel: http://i.imgur.com/mag9gTa.png
Ernest Marcinko
KeymasterHi!
I’ve made some changes on the configuration and code, it should work well now. The problem was, that the theme was detaching the stylesheet so it did not show.
Ernest Marcinko
KeymasterHi!
You should make copy of the ajax-search-pro folder in the plugin directory, that countains everything. This will be included in the next version, no worries.
August 27, 2014 at 2:48 pm in reply to: Showing the search results on the search page (i.e. going without the Ajax) #2287Ernest Marcinko
Keymaster1. First of all this way the call can be accessed from outside your server, which poses a possible threat of excessive usage. GET is also limited in terms of parameters length. In some cases people like to exclude dozens of categories, posts etc.. which is all part of the fronted as well. So there is a chance of data loss.
You can of course try if you want. Look in the search.php in the main directory. Lines 192-193:
$_posts = new wpdreams_searchContent($params); $pageposts = $_posts->search($s);Basically that’s the heart of it. You can do a “var_dump($params);die();” to see what data is passed to the constructor. The class is located at includes/search_content.class.php. It extends the includes/search.class.php, so you will need that as well.
The $pageposts variable will contain an array of the results. Pobably adapting this code is the best idea to start with.Good luck!
-
AuthorPosts