Single record not appearing on subsequent records

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 5, 2011   (RSS)

Hi

I have a separate single record file which I have called "extras", which I want to appear on every page. I have loaded this code in the header, ie,

// load records
list($extrasRecords, $extrasMetaData) = getRecords(array(
'tableName' => 'extras',
'where' => whereRecordNumberInUrl(1),
));
$extrasRecord = @$extrasRecords[0]; // get first record


The "extras" are appearing on the first multi record page of my photographic_courses.php?1, but not on subsequent ones, ie, photographic_courses.php?2, etc. Am I doing something wrong?

Thanks

Re: [gkornbluth] Single record not appearing on subsequent records

Perfect, thanks!