preview button
19 posts by 8 authors in: Forums > CMS Builder
Last Post: March 31, 2012 (RSS)
By Vaisoco - March 8, 2011
This is completely mad and I have now seen that you have a "preview" option in your latest release.
Could I please confirm how this actually works. Are you saying that irrespective of how much CMS builder currently does within our clients site, the preview button will display the complete page exactly as it would if the record were saved?
Also we have done a lot of our own custom coding within CMS builder.
We want to ensure that we don't have any issues with the current version. Is there a safe way of including the new "preview" option without disrupting anything else?
Your help would be so very much appreciated.
Geoff
Re: [Vaisoco] preview button
By Vaisoco - March 9, 2011
Could someone please advise how the "preview" functionality works.
We are desperate to know.
Thanks.
Geoff
Re: [Vaisoco] preview button
By robin - March 9, 2011
The preview option lets you view what a record will look like before you save it. It will show the preview exactly how it would look on the normal details page. It will work if you have the "Detail Page Url" set in the section editor for that section.
To set the "Detail Page Url":
-Click Admin on the side bar, and then Section Editor.
-Click Modify on the section you're working with
-Click "Viewer Urls" at the top of the page.
-Type your details page in the "Detail Page Url" text box.
You can check out the preview functionality at our on line demo here:
http://demo2.interactivetools.com/cmsbuilder2/
-Click Administrator to login as administrator
-Click "Sections" on the side bar, and then "News"
-Click Modify on one of the records.
-Now you can modify the title or content and see the changes by clicking "preview" before saving the record.
If you have custom coding in your CMS Builder you'll have to re-apply that after upgrading, your custom changes will be overwritten in the upgrade.
Thanks
Programmer
interactivetools.com
Re: [Vaisoco] preview button
By Dave - March 9, 2011
Also, a good free tool for comparing code differences between versions is "winmerge".
Hope that helps!
interactivetools.com
Re: [Dave] preview button
By tsuluwerks - April 18, 2011
Re: [tsuluwerks] preview button
By Jason - April 18, 2011
You need to use the full URL path, but make sure you have http:// in front of it.
So instead of
www.mysite.com/myPreview.php
try:
http://www.mysite.com/myPreview.php
Hope this helps
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] preview button
By tsuluwerks - April 18, 2011
Re: [tsuluwerks] preview button
By Jason - April 19, 2011
If you go into your section editor for that section and click on the "Viewer Urls" tab, you'll see a field for "Preview Url". Put your entire path here including the http:// and hit save. Then go into that section and hit preview.
Hope this helps
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] preview button
By tsuluwerks - April 19, 2011
However, I filled in the viewer URL for Client Spotlight, and it still gives the error. When I look at the URL, it is looking for the file in the cmsAdmin folder. How can we stop the system from looking in the cmsAdmin folder? When I add the full URL (/home/www/newcareinc/) to precede the file name, it adds this path after http://www.newcareinc.com.
When I put in the full http path to the field (http://www.newcareinc.com/clientSpotlight.php), I get an error that says "You must be logged in to use this feature!"
I'm not techie enough to understand what's happening. [:/]
Re: [tsuluwerks] preview button
By Jason - April 20, 2011
We're going to be looking into the issue with the preview button looking in the cmsAdmin folder further.
For now, if you want clientSpotlight.php to be the page used for your preview as well as being your detail page, put:
clientSpotlight.php in your Detail Page Url
and
http://www.newcareinc.com/clientSpotlight.php in your Preview Page URL
I went directly to that page and didn't get a "You must be logged in to use this feature!" error. Give this a try and let me know if you run into any issues.
Thanks
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/