How is 'Preview' intended?

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

By Deborah - April 27, 2016

Hi. I am having confusion about the function of the 'Preview' button when editing a list record item.

My assumption was that if I am creating a new list record or editing an existing one, any unsaved edits or additions would be visible in the preview.

From what I'm seeing, (looked at ver 2.61, 2.64, 3.02) it is necessary to first save the record before the preview is updated. It seems that needing to save the record first defeats the purpose of having a preview button.

Am I missing something obvious? Please clarify and thanks.

~ Deborah

By Damon - April 27, 2016

Hi Deborah,

Just tested with CMS Builder 3.03 and preview works as expected. 

When creating a new record, before clicking Save, I can click Preview to see the results.

Also, when editing an existing record, I can Preview changes before saving.

Can you test with CMS Builder 3.03 and let me know if you are getting the correct results?

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By Deborah - April 27, 2016

Damon, Are you saying that versions prior to 3.03 should be able to see edits to the preview?

I don't have a 3.03 install yet, and see that 3.04 is available. I'll try 3.04 very soon, but for now want to know if the older versions should act in the same manner. (Trying to assist a client at the moment who has 3.02.)

~ Deborah

By Damon - April 27, 2016

Hi again,

Yes, I tested in CMS Builder 2.65 and Preview works as expected.

Can you check that for single section editors (ex. About) you are using this code in the load records:

'where'       => '', // load first record

And for multi-section editors (ex. News) can you check that you are using this code in the load records:

'where'       => whereRecordNumberInUrl(0),

If you are and Preview is still not working, can you send in a Support Request so we can take a closer look:

https://www.interactivetools.com/support/email_support_form.php?priority=free

Thanks!

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/