AUTOMATICALLY HIDE AND SHOW RECORDS BY DATE RANGE - Aug 2nd, 2010


You can automatically have records show and be hidden with the special fields 'publishDate' and 'removeDate'. You’ll
want to create date fields for those.

Once that's done, your list should only show records within the date range, but if you only want to show the first
matching record, add this to your viewer code



list($yourRecords, $yourDetails) = getRecords(array(
'Table name' => 'yourTable',
// Insert This Code
'limit' => '1',
// End of Insert
));





The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service