Uploads Per Page
Ok that works good but, now I see another issue.
I have the Gallery Title, Gallery Date, and Gallery Category showing up great when you first get to the page. Then if you click on any of the pagination (previous/next) , those category/title fields disappear and the date sets to Wednesday, December 31, 1969
<?php echo $chs_galleriesRecord['category:label'] ?>
<?php echo htmlencode($chs_galleriesRecord['gallery_title']) ?>
<?php echo date("l, F d, Y", strtotime($chs_galleriesRecord['event_date'])) ?>
Can you try adding "'pageNum' => 1" to your top getRecords() call?
list($chs_galleriesRecords, $chs_galleriesMetaData) = getRecords(array(
'tableName' => 'chs_galleries',
'where' => whereRecordNumberInUrl(0),
'pageNum' => 1,
'loadUploads' => false,
'allowSearch' => false,
'limit' => '1',
If this does not help, can you tell me what CMSB version you are running?