Adding a preview link to cmsb
5 posts by 2 authors in: Forums > CMS Builder
Last Post: April 22, 2010 (RSS)
By concrete - March 17, 2010
Re: [concrete] Adding a preview link to cmsb
By gkornbluth - March 17, 2010 - edited: March 17, 2010
As far as I know, the "preview" link gets it's information from the List Page Url entry on the Viewer Urls tab of the section editor.
If there's no entry in that field, the "preview" link will not appear at the top of your record list page.
Since the site URL is entered automatically, if the page will be found in the root directory, you'll have to include a slash "/" before the page like this
/yourpage.php
If it's in a sub directory, then
/yoursubdirectory/youpage.php
If that's not what you're looking for, could you be a bit more specific about what you're trying to accomplish?
Best,
Jerry Kornbluth
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [gkornbluth] Adding a preview link to cmsb
By concrete - April 14, 2010
Re: [concrete] Adding a preview link to cmsb
By gkornbluth - April 20, 2010 - edited: April 20, 2010
Sorry that I couldn't reply sooner.
If you add
'where' => " hidden = '1' ",
or
'ignoreHidden' => true,
to the getRecords code on a special "preview" viewer, you should be able to preview your "hidden" records.
Hope that answers your question
Best,
Jerry Kornbluth
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [gkornbluth] Adding a preview link to cmsb
By concrete - April 22, 2010
Now I'm trying to figure out how to add a preview link next to the modify and erase links on listings page.