Re: [willbegood] HELLLPPPPP!!!! Dynamic image header only display on the first article page
My top php code was:
list($imgheaderRecords, $imgheaderMetaData) = getRecords(array(
'tableName' => 'imgheader',
'where' => whereRecordNumberInUrl(1),
'limit' => '1',
));
$imgheaderRecord = @$imgheaderRecords[0];
It works on lists
And for the the detail pages i've just commented the where and limit argument, and it works, see below:
list($imgheaderRecords, $imgheaderMetaData) = getRecords(array(
'tableName' => 'imgheader',
//'where' => whereRecordNumberInUrl(1),
//'limit' => '1',
));
$imgheaderRecord = @$imgheaderRecords[0];
Does somebody can tell me if it's a "correct" way to do it, perhaps there is a more elegant way ;).
And i would like to understand the all stuff please.