preview button and permalink not working

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

By kitsguru - January 4 - edited: January 5

I am using CMSB 3.57 with permalink 1.10 and experiencing an issue with multi-record editor.

It works fine with a category menu section. BUT with the multi-record editor I get a file not found error when clicking the preview button when editing a record. The record has been saved.

Both editors point to the appropriate detail page and the preview URL is left blank. 

list($blogRecords, $blogMetaData) = getRecords(array(
    'tableName'   => blog,
    'where'       => "blog.num='" . getLastNumberInUrl() . "'",
    'loadUploads' => true,
    'allowSearch' => false,
    'leftJoin'    => array(
        'bios' => 'biosNum'),
    'limit'       => '1',
    'debugSql'    => false,

I wonder if the where clause is causing the preview to fail. If so what should it be?

Jeff Shields

By kitsguru - January 5

Thanks Steve that did the trick, much appreciated.

Jeff Shields