Showing only 2 most recently updated records in an RSS feed

3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 2, 2010   (RSS)

Re: [gkornbluth] Showing only 2 most recently updated records in an RSS feed

By Damon - February 2, 2010

Hi,

You can either add your sort options directly into the viewer (template) or add the sort options within CMS Builder in the Section Editor, and then under the Sorting tab for "Current Events".

Here is the code to add to the viewer:

'orderBy' => 'updatedDate DESC',

Give that a shot.
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Damon] Showing only 2 most recently updated records in an RSS feed

Thanks Damon,

It's always so simple when you know how, isn't it...

You folks are the BEST,

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php