Re: [bragg31] CMS Builder 2.13 Preview Issue
Jason,
I just compared the detail page code generated from this site to an older site I did using version 2.07 of your software and I did find a difference that seems to have solved the issue for me in this particular case.
This is the code generated from 2.07 for the detail page:
// load records
list($tid_bitsRecords, $tid_bitsMetaData) = getRecords(array(
'tableName' => 'tid_bits',{
'where' => whereRecordNumberInUrl(1),
'limit' => '1',
));
$tid_bitsRecord = @$tid_bitsRecords[0]; // get first record
Here is the code from the current version 2.13:
// load records
list($personal_insuranceRecords, $personal_insuranceMetaData) = getRecords(array(
'tableName' => 'personal_insurance',
'allowSearch' => '0',
'limit' => '1',
));
$personal_insuranceRecord = @$personal_insuranceRecords[0]; // get first record
The hightlighted line in the older version is what seemed to get the previews working again for me.
I guess my question now is did you phase that out of the current code generator for a reason? Should this be achieved a different way with the current v2.13?
Thank you.