craigramsay
Forum Replies Created
-
Forum: Reviews
In reply to: [Ajax Pagination and Infinite Scroll] Took me 2 min and works perfectly!Thanks for using the plugin and for the kind review. It’s really appreciated when people take the time to leave one. Cheers.
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] pagination error on firefoxHi, It looks like your using a masonry type grid. With these you normally have to trigger a reflow of the items after appending new ones. There are some notes in the plugin guidelines on this.
For example if using Isotope the code is as follows. And you need to change the .grid selector to whatever you are using. This code is placed in the plugin settings callback field.
$(‘.grid’).isotope(‘reloadItems’).isotope();
Thanks
Hi James, This was a strange one and not sure if it’s because of the :before and :after selectors you’re using.
The solution is to change the posts selector settings to the ol that wraps the .PortfolioListing li items. You could move the .Portfolio class from the div to be the class name on the ol and try that. Otherwise just add a new class name to act as the target. When on the ol it seemed to work but the testing I can do here is limited.
<ol class="Portfolio small-block-grid-1 medium-block-grid-2 large-block-grid-2">
Thanks
Thanks James, I’m going to have another look at this later it’s a strange one as all the selectors are correct and new posts are being returned but not added on to the end for some reason. I’ll get back to you.
Thanks
Hi James, Apologies for the delay. Looks like you’ve set it back to the 10 posts so I can’t check out what’s happening on the page as there’s no pagination.
If you have time to change it back to the 6 as you mentioned and I’ll take a look in the next day or so for you to offer a solution.
Thanks
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] Loading Two Column BootstrapHi, I don’t quite follow what you mean about tricking the code. If the problem is the same as the op then you need to rework the template as the pagination doesn’t know where to insert the new posts. Your post divs need to just wrap, which is better way to mark things up anyway the extra divs just aren’t required.
I can’t help much more without seeing a demo if you have one.
Thanks
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] Google Analytics Code?Hi, sorry for the delay in this. Add this to your callback. This will trigger a new page view of th current page when a set of posts is loaded.
Thanks
ga(‘send’, ‘pageview’, location.pathname);
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] cannot retrieve last pageHi, I would need to see a demo of this to test please.
Thanks
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] Next ButtonThanks for your message. This issue is fixed in Version 2.0.0. Thanks
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] click bugThis is now fixed in version 2.0.0
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] run javascript before next page loadIn version 2.0.0 you can use a couple of events for this. There is a malinkyLoadPostsStart and malinkyLoadPostsComplete event. You could add event listeners to these to add and remove the effects you wish.
I wouldn’t advise amending main.js as you do above as it will break following any plugin update.
Thanks
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] how to callback your functionIn Version 2.0.0 you can setup the pagination again at anytime by calling the following function in your javascript which should fix the above issues.
MalinkyAjaxPaging.setUp();
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] cannot get it to work@havas apologies this has taken so long but Version 2.0.0 of the plugin will fix this bug for you.
Thanks
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] 404 on Product number increaseDo you have a demo of this? Thanks
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] run javascript before next page loadCurrently there isn’t any events triggered at these points of the process. However it’s a good idea and will give it some consideration to help increase the flexibility.