Hide option and using a "preview page" function

6 posts by 3 authors in: Forums > CMS Builder
Last Post: July 8, 2010   (RSS)

By drewh01 - July 6, 2010

I am using a "Hide" checkbox function in my CMS admin and was wondering if there is a way to "preview" the page before I make it live?

Re: [zip222] Hide option and using a "preview page" function

By drewh01 - July 7, 2010

I am using the hidden function.

Re: [drewh01] Hide option and using a "preview page" function

By Jason - July 7, 2010

Hi,

What you can do is set up a separate viewing page where you can preview posts before unchecking the "hidden" field.

To view only records that have been hidden you can use something like this:

list($listingsRecords,$listingsMetaData)=getRecords(array(
'tableName' => 'listings',
'ignoreHidden' => true,
'where' => "hidden=1",
));


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] Hide option and using a "preview page" function

By drewh01 - July 7, 2010

ok, thanks - would I need to create a "preview" page for each individual page on the site?

Re: [drewh01] Hide option and using a "preview page" function

By Jason - July 8, 2010

Hi,

You would need a preview page for each section you wanted to preview.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

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