preview problem v2.50

3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 17, 2013   (RSS)

By gregThomas - January 17, 2013


Are you using the getRecords function to display the record on your preview page? If so, I think you need to turn the ignore publish date setting to true. You can do that like this:

// load record from 'blog'
list($blogRecords, $blogMetaData) = getRecords(array(
'tableName' => 'news',
'where' => "`num` = '1'",
'loadUploads' => false,
'allowSearch' => false,
'ignorePublishDate' => true,
'limit' => '1',



Greg Thomas

PHP Programmer -

By craig_bcd - January 17, 2013

Greg -

That works perfectly! I had no idea that switch was available.  Thanks again and thanks for the speedy response.