• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Re: "Load More" alternative to paging on news summary?
PostPosted: Sun Jun 22, 2014 7:25 am 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 2875
Location: The Netherlands
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: "Load More" alternative to paging on news summary?
PostPosted: Sun Jun 22, 2014 12:27 pm 
Offline
Power Poster
Power Poster

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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
HostPapa CMS Made Simple hosting