Page 1 of 1

Re: "Load More" alternative to paging on news summary?

Posted: Sun Jun 22, 2014 7:25 am
by velden
I think it can be done, but I don't have a working example.

It would probably involve the pagination functionality and 'ajaxifying' the 'next page' links.

It should return the next 5 articles which you append to the page.

This article is about the basics of Ajax and News (CMSMS in general):
http://calguy1000.com/Blogs/9/60/jquery ... -news.html

I would recommend make a working example with static html files (perhaps just on local machine). If that works like you want it to, 'translate' it to cmsms.

Re: "Load More" alternative to paging on news summary?

Posted: Sun Jun 22, 2014 12:27 pm
by psy
Yes of course it can be done. CMSMS can do anything that can be done with javascript and ajax. It's a matter of figuring out how.

Seems the I-Do-This team worked out how to do it at

Code: Select all

http://www.i-do-this.com/blog
Haven't tried it myself but I'd try starting with a counter variable, eg x=6 and number of articles to show is 5. Then the button would be a module action link starting at var $x and number of articles to show is 5, on click initiate ajax function to append the next 5 articles and increase $x by 5.