Login | Sign up | Toll-Free: 1-800-752-0455
 
 

Forum

 

8 posts by 2 authors in: Forums > CMS Builder
Last Post: January 24

Hello.

Are the page previews that are accessed by selecting the 'Preview' button when editing a record available for list pages as well as detail pages? Some sections don't require a detail page and my client is expecting an updated preview prior to publishing.

After editing the title (textfield) of an existing record for a list of documents, the title change is not showing in the preview.

EXAMPLE:
In the editor setup, I have '/documents/index.php' indicated for both List page and Detail page URLs.

The preview button takes me to this preview URL:
/documents/index.php?preview-9999999999

Other than disabling the preview, is there a different URL or custom preview page I could set up to achieve this? Maybe it can't be done?

Thanks for any help.
Deborah

Hi Deborah, 

Any saved changes should be showing.  And you can specify a specific preview page by entering it's url under: 

CMS Setup > Section Editors > Your Section > Viewer URLs > Preview Page Url

Hope that helps, let me know if you're still having issues.

Dave Edis - Senior Developer
interactivetools.com

Hi, Dave.

Saved changes show in "preview" just fine. However, there's no need to "preview" something already saved, just a record actively being edited BEFORE it is saved... which is how I'm interpreting the term "preview". What other type of "preview" would there be?

Just like in this forum when I click the 'Preview' button, I'm looking at what will be posted, not what has been posted.

Deborah

Hi Deborah, 

I'm still not totally clear, but here's some more info.  Basically, the "Preview" button on the CMS "list" page just opens the list page viewer in a new window.  Because you can't really make any changes on the list page that aren't saved right away (which happens when you drag sort or delete a record).

Is it a single-record or multi-record section you are editing?  And are you saying that when you make a change to a field and click "Preview" before you click "Save" it's not showing the updated info?

Dave Edis - Senior Developer
interactivetools.com

Hi, Dave. Sorry about not being clear on that... I tried.

Is it a single-record or multi-record section you are editing?  And are you saying that when you make a change to a field and click "Preview" before you click "Save" it's not showing the updated info?

This is a multi-record section. When a change is made to an existing record field, the 'Preview' shown using the 'Preview' button within the CMSB interface does not show the update made to that field.

Please see attached screenshot sequence.

~ Deborah

Attachments:

preview.jpg 315K

Ok, we'll run some tests to confirm everything is working correctly on our end and post an update.

Can you confirm if you're using the original viewers (getRecords) or the new experimental viewer code (getRecordsAPI)?

Thanks!

Dave Edis - Senior Developer
interactivetools.com

Dave,

Did not use experimental code. Used code straight from 'Create a Viewer' CMS Setup > Code Generator > List Page in version 3.12.

Looking forward to your findings.

~ Deborah