Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Pagination not working
- This topic has 10 replies, 2 voices, and was last updated 10 years, 5 months ago by
Ernest Marcinko.
-
AuthorPosts
-
December 2, 2015 at 10:49 pm #6878
wenago
ParticipantHi there!
Please go on the URL I sent you and click on “Alle”.
In “Alle” there should be 12 items, but only 10 are shown. If you go to page 2 it’s empty.
Two more things:
– Is it possible to make some margin between the single results?
– Is it possible to trigger “Alle” so that all result will be loaded on first page view?I would be very happy for fast answer, because customer is waiting 🙂
Thanks
DominicDecember 2, 2015 at 11:14 pm #6879Ernest Marcinko
KeymasterHi!
It appears it is a bug when the If no image found option is set to Don’t show that result on the Theme Options -> Isotopic results panel.
I have changed that option to “Show default image instead” and now it shows 13 results (one with the default image). The page calculation was incorrect because of that hidden item 🙂 The script only displyed 12, when there was actually 13 and calculated with 13 – so 2 pages were generated.It’s possible to increase the margin, which is actually a transparent border, with custom CSS snippet. For example to give 4 pixel margin on each side:
[html].isotopic .results .item {
border: 4px solid transparent !important;
}[/html]Well, maybe with a custom code it might be possible. Try adding this to the footer of the site, before the closing body tag:
[html]<script>
jQuery(function($) {
$(".asp-try a").get(0).click();
});
</script>
[/html]..this will click on the first keyword from the suggested list, which is the “Alle”.
December 2, 2015 at 11:38 pm #6882wenago
ParticipantHi!
Wow, very fast response time! Thanks!
Is it possible to fix that bug? Because I need to hide all the results without the image.
Thanks 🙂
December 2, 2015 at 11:45 pm #6883wenago
ParticipantBtw, margin and auto-click solution works fine, thx!
December 3, 2015 at 6:27 pm #6910Ernest Marcinko
KeymasterI’m going to release a bugfix version soon (in few days), where I’m fixing this and other potential issues as well.
Can you wait a few days for the update?December 10, 2015 at 10:58 am #6995wenago
ParticipantHi,
we are ready to launch the site, so it would be nice to have your update.
Perhaps you could give me a fast workaround?
Cheers
DominicDecember 10, 2015 at 11:41 am #6996Ernest Marcinko
KeymasterHi!
I’m attaching a pre-alpha version of the next release, that should solve this issue. Unfortunately there is no quick workaround, as multiple files are involved.
You can safely deactivate, uninstall the current version. The instance data and the options will stay in the database.December 10, 2015 at 11:42 am #6999wenago
ParticipantHi,
that’s great! Thank you for your fast support! I’ll try this evening. 🙂
Cheers!
December 12, 2015 at 3:44 pm #7019wenago
ParticipantHi there,
pagination ist working fine now in your pre-alpha.
BUT on Android standard browser:
– the links are not working
– the first click trigger $(“.asp-try a”).get(0).click(); is not working
– the x from the close button in the search bar is not in centerCan you fix this please?
In Android Chrome browser everything is fine.
Thanks
December 18, 2015 at 10:19 pm #7122wenago
ParticipantHi Ernest,
any news on this issue?
Cheers
DominicDecember 21, 2015 at 10:18 am #7129Ernest Marcinko
KeymasterHi!
The biggest problem is that the Android browser is not a single browser, but it’s vendor released, and seems like every old device has a different one. I have found a Virtual Machine image with android 4.2 pre-installed with the Android Browser, but everything is working for me with this one.
It’s probably a vendor/device or specific version related issue, I’m not sure how I’m going to debug this. At least mobile chrome is same on all devices…
-
AuthorPosts
- You must be logged in to reply to this topic.