Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterHi!
It should be enabled. Let me check if there is a bug with it, I haven’t checked for version 4.0
Ernest Marcinko
KeymasterThe problem is that the results position is absolute to the window scope and the menu box position is absolute to it’s parent scope – because it’s parent item’s position is set to relative.
Z-index defines an absolute element z-axis position relative to other elements with the same positioning, but if the closest relative parent is different, then the element higher up the Node tree is displayed first.This means, that this is not solvable by ajdusting the z-indexes.
I would rather suggest triggering an event to close the result list, if the user hovers over the menu. Try putting this script to your site footer between script tags:
[code]jQuery(function($) {
$(‘.menu-item’).hover(function(){
$(‘body’).click();
});
});[/code]This will trigger a body click if the user hovers over the menu, and it closes the results list.
Ernest Marcinko
KeymasterHi!
I’m sorry, not ready yet. I was getting too many support tickets, it’s slowing me down greatly.
I’m just as eager to release it ASAP, but any mistake or bug costs me 10 times of work, I hope you understand that.
Once I finish every feature, I attach a pre-test working version here for you, because the testing, uploading, validating process may take a while on codecanyon as well. I’m hoping for today evening, or tomorrow noon.
Ernest Marcinko
KeymasterHi!
I have found a solution, the images should now appear. I put the following code to your themes functions.php file to achieve that:
[php]if (!function_exists("parse_tpl_image")) {
add_filter( "asp_results", "parse_tpl_image", 1, 1 );function parse_tpl_image($results) {
foreach ($results as $k => $result) {
if ($result->image == null || $result->image == "") {
$m = bdw_get_images_plugin($result->id, ‘directory-single-thumb’);
if (is_array($m) && isset($m[0][‘file’])) {
$results[$k]->image = $m[0][‘file’];
}
}
}
return $results;
}
}[/php]-
This reply was modified 10 years, 11 months ago by
Ernest Marcinko.
Ernest Marcinko
KeymasterHi!
Yes, by editing your first post and filling out the fields again,
or by uploading a .txt file with the details.Please also make a back-up copy of your site to prevent any issues or data losses.
Ernest Marcinko
KeymasterHi!
Thank you for the proper details on the ticket, it made my work much faster.
I’ve found the problem, it’s a bug in version 4.0. The upcoming version has this fixed already, so it should not re-appear once you update.
Also, I’ve noticed that the theme adds huge padding on the result content accidentally, I’ve tried to fix that for you as well, but the back-end does not let me save the settings for security reasons I guess.
Anyways, if you put this CSS code into the search plugin Theme Options -> Custom CSS panel, then it should remove the additional padding:[code].vertical .resdrg .item .content {
padding: 0 10px !important;
}[/code]Ernest Marcinko
KeymasterHi!
The default state of these options depends on the search configuration.
For example the “Exact matches” is ticked if the “Show exact matches only?” option on the General Options -> Sources panel is enabled: http://i.imgur.com/mTaS2Cz.png
Same goes with the content, title search on that same page.
Well, you can hide them on the Frontend Search settings panel: http://i.imgur.com/JLhD3tJ.png
Ernest Marcinko
KeymasterI just realized you use an outdated plugin version, I didn’t notice before 🙂
I suggest updating to 4.0, which is downloadable from codecanyon, but please read the update steps before: http://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/update_notes.html
That one has a different engine, which might be faster, also there are options for performance optimizations: http://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/performance_tuning.html
The previous issue will appear again after updating, but there is an option in 4.0 which fixes that without touching the code. After updating, open up the Compatibility Settings submenu and turn off the “Load the NoUI slider JS” option: http://i.imgur.com/jAqqR5I.png
Ernest Marcinko
KeymasterIt might be possible, I’m not sure.
If you have FTP, you can add it by editing your first post in this thread or upload a .txt file. Both methods are safe.
Please make a quick back-up of your data as well, to make sure nothing gets lost.
Ernest Marcinko
KeymasterI see.
There are two problems with this:
1. This is most likely some kind of advanced custom field storing the images as an array or object or something. There is no way for the plugin to find out how this is stored. However I might have a solution, but I don’t think I can test it without FTP access.
2. The bigger problem is that I don’t see any post images defined: http://i.imgur.com/S38NzHS.png
I also checked the Listings editor, but there is no “Post images” field to upload images: http://i.imgur.com/DEssgGZ.png
All I can see is the image gallery, but that’s not the Post images box.So even if I find a way to parse the “post_images” custom field, it looks like they are empty, so you still don’t get any image.
Ernest Marcinko
KeymasterHi!
I’ve found the issue. It was one of the external scripts. I have disabled it programatically in the search plugin, since you were not using it anyways. It looks like the coupon link is working again.
Ernest Marcinko
KeymasterDoes the post_images custom field contain a single url to the image? Or is it an array of multiple images?
If I search for “biggest” I get a post with an image, it is extracted from it’s cotnent. Where is the “post_images” custom field set?
Ernest Marcinko
KeymasterHi!
I’ve tried to deactivate/activate the plugin after playing with the settings and the site went offline with an error message.
I’m suspecting that one of the files might have been extracted incorrectly and missing characters or perhaps lines. I have never seen this kind of behavior before, missing/incorrectly uploaded files might explain it.
I’m sorry about the error, I wasn’t expecting that, you will have to rename/delete the wp-content/plugins/ajax-search-pro directory to get rid of it as it looks like a syntax error.
If you could also provide temporary ftp access it would be better, as I was able to make direct modifications to the search code in case of something like this happens.
Also, try to re-install the plugin once after deleting, it might help. If not, then I’ll debug through the code to find the cause.
Ernest Marcinko
KeymasterHi!
I just checked and I’m seeing horizontal results, maybe it was just the website page cache?
For slideshows I suppose you can use some kind of slider plugin. There are many available on codecanyon as well. I can also recommend “Smart Slider 2”, I used to work with them, they are a very talented team.
Ernest Marcinko
KeymasterHi!
Could you please check the login details? I’m not able to log in to the back-end.
I’m not sure what’s causing the issue yet, I see a woocommerce script error on the checkout page, I’m guessing it’s conflicting with one of the plugin scripts.
-
This reply was modified 10 years, 11 months ago by
-
AuthorPosts