Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Preview button?

 

 


gkornbluth
User

Jul 24, 2008, 10:02 AM

Post #1 of 5 (640 views)
Shortcut
Preview button? Can't Post

I know it’s probably a silly question, but here goes...

I’ve created a series of records in a multi-record section editor.

When a non admin user logs on to the section editor for that page, there's a “preview” button next to the “create” button.

Since they can’t highlight any of the records in the list, when they click on the “preview” button, they get an “input file not specified” error.

So, what’s the “preview” button for and how is it used?

Thanks

Jerry Kornbluth


Dave
Staff / Moderator


Jul 24, 2008, 4:18 PM

Post #2 of 5 (625 views)
Shortcut
Re: [gkornbluth] Preview button? [In reply to] Can't Post

Hi Jerry,

What the Preview button on the record list page does is open a new browser window with the url specified here:
Admin > Section Editors > Section Name > Viewer Urls > List Page Url

Basically it lets the users see the live "list view" of the records. If you don't have a list page url specfied the button won't appear, and if you have it specified but the file can't be found you'll get a 404 or "input file not specified" error.

You probably need to put in a full path such as /news/list.php instead of just list.php.

Hope that helps, let me know if you have any more questions about that.

Dave Edis - Senior Developer
interactivetools.com


gkornbluth
User

Jul 25, 2008, 5:29 AM

Post #3 of 5 (617 views)
Shortcut
Re: [Dave] Preview button? [In reply to] Can't Post

Thanks Dave

Now it makes much more sense to me.

In the same vain, could you explain the purpose of the "Detail Page URL" entries on both the multi and single record section editors?


(This post was edited by gkornbluth on Jul 25, 2008, 5:54 AM)


Dave
Staff / Moderator


Jul 25, 2008, 7:12 AM

Post #4 of 5 (606 views)
Shortcut
Re: [gkornbluth] Preview button? [In reply to] Can't Post

Sure. Anytime we need to know the url of the viewer that shows just one record we use the "Detail Page Url".

Right now we're using it to automatically create the $record['_link'] on list pages. For consistency it also displays the _link on detail pages.

Except for a few rare cases it's not really needed for Single Record Editors but we have it there for consistency and future use. One of those cases would be if you displayed a single record within a homepage and then wanted to have _link go to a detail page that showed all the information.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com


gkornbluth
User

Jul 25, 2008, 9:48 AM

Post #5 of 5 (593 views)
Shortcut
Re: [Dave] Preview button? [In reply to] Can't Post

Thanks again...

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4