"Load More" alternative to paging on news summary?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

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

Post 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.
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

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

Post 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.
Post Reply

Return to “Modules/Add-Ons”