how can I rotate articles on a page

6 posts by 2 authors in: Forums > CMS Builder
Last Post: February 15, 2008   (RSS)

By Chris_t - February 14, 2008

Hello all Chris again so far we are doing really well with CMS

The owners of the site are in love with the idea of the articles rotating in and out with the most recent ones top 3 to be exact. http://www.raptorsuif.com/ was given to me as an example. I don't really need the buttons being highlighted just for the 3 most resent news articles being displayed on the front page.

Thanks
Chris

Re: [Dave] how can I rotate articles on a page

By Chris_t - February 14, 2008

Thanks Dave I have done that already. What they want is like the one article to be up on the home page for 10 seconds then the next one replaces it going over and over with the 3 most current ones. They are not a fan of the check box because many people will be working on the site writing articles so they want it to pull from all of the news category regardless. I can work it side ways if this was adding articles to an RSS like article Manager does I made something like this before but had to use a java script to display an RSS feed.

Thanks for your help

Chris

Re: [ChrisTitchenal] how can I rotate articles on a page

By Dave - February 14, 2008

Ahh, I see, so you just need the dhtml part that slides the content around. Do you have a javascript dhtml script to do the sliding already or is that what you're looking for?

Looking at the source of http://www.raptorsuif.com/ it looks like they're using this one: http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm

It looks like all you need to do is put a div around the 3 records that are output.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] how can I rotate articles on a page

By Chris_t - February 15, 2008

Thanks so much Dave I will start to work on that now. So because I want just 3 articles I limit my list view to 3, are they by defult sorted by date or will I need to define a sort order by date.



Chris

Re: [ChrisTitchenal] how can I rotate articles on a page

By Dave - February 15, 2008

Yes, you always need to define a sort order. Otherwise it will return them sorted by num or whatever order they happen to be in the database.
Dave Edis - Senior Developer
interactivetools.com