Ajax Pagination
Permalink 1 user found helpful
How do i get the page list to load using ajax when the pagination is active...
Have you managed to get this resolved? I am looking at doing something similar.
I recently developed a package which adds ajax paging to the Page List block. If you fancy trying it and giving any feedback that would be great:
http://www.concrete5.org/community/forums/customizing_c5/release-si...
http://www.concrete5.org/community/forums/customizing_c5/release-si...
I gave it quick try. It seems to work quite well in 5.6.0.2.
However if I list all the pages without pagination, it gives the following warning:
Thanks for sharing!
However if I list all the pages without pagination, it gives the following warning:
Warning: Division by zero in C:\Installation\xampp\htdocs\concrete5.6.0.2\concrete\core\libraries\item_list.php on line 263
Thanks for sharing!
Hi greent
Thanks for highlighting this. In my enthusiasm I forgot to include code to prevent the Page List from attempting to paginate when it hasn't been asked to!
I've updated the package on Github -- you can download it here: https://github.com/melat0nin/concrete5_ajax_page_list/archive/master... .
The two updated files are /blocks/page_list/templates/ajax_page_list.php and /tools/ajax_request.php. You can extract and upload just those to your site, rather than re-installing the package, if you prefer.
Let me know if you come across any other problems. If you're familiar with Github, you can log further issues on this page: https://github.com/melat0nin/concrete5_ajax_page_list/issues... . That's an easier place to track bugs and get other people involved.
Cheers!
Thanks for highlighting this. In my enthusiasm I forgot to include code to prevent the Page List from attempting to paginate when it hasn't been asked to!
I've updated the package on Github -- you can download it here: https://github.com/melat0nin/concrete5_ajax_page_list/archive/master... .
The two updated files are /blocks/page_list/templates/ajax_page_list.php and /tools/ajax_request.php. You can extract and upload just those to your site, rather than re-installing the package, if you prefer.
Let me know if you come across any other problems. If you're familiar with Github, you can log further issues on this page: https://github.com/melat0nin/concrete5_ajax_page_list/issues... . That's an easier place to track bugs and get other people involved.
Cheers!
I'm pulling a 404 for both of these links.
This link, which you identified on another thread, appears to be correct:https://github.com/melat0nin/concrete5_ajax_page_list... .
This link, which you identified on another thread, appears to be correct:https://github.com/melat0nin/concrete5_ajax_page_list... .
Apologies, the c5 forum doesn't remove periods which come immediately after a URL when it autogenerates links. I've made a space so both the links work now.
Hi melat0nin
I downloaded the updated version of your package. Seems to work fine. Thanks for sharing this simple yet useful addon!
I downloaded the updated version of your package. Seems to work fine. Thanks for sharing this simple yet useful addon!