hOW dO i UNPUBLISH A PAGE

Permalink
How do I unpublish a page?

I've looked at all the editing options and there doesn;t seem to be anyway to do this.

Am I missing something?

I don't want to delete it, just save it as a draft or something.

 
Mnkras replied on at Permalink Best Answer Reply
Mnkras
go into edit mode hit versions check the box next to the one you want and hit approve
ericob replied on at Permalink Reply
I'm not sure what the original poster wants to do, but what I want to do is not to switch versions of a page but to REMOVE it from view. Before, it is in the navigation, after, it is NOT in the navigation. I don't want to delete the page, just "hide" it.

Is there a "don't show in navigation" setting somewhere? At the moment I don't care if these "hidden" pages can be accessed directly... I just don't want to see them in the nav.

At the moment I'm working on the design of a site and I want to try out different names for different pages (sections). And I want to try out adding or removing certain pages. Being able to "turn on and off" pages would be WAY easier than saying "Now pretend you don't see this..."
hursey013 replied on at Permalink Reply
hursey013
By using permissions, just uncheck View for guests, registered guests, or any other publicly available group. That will only leave the page available to the Administrators group, which means only those logged in as administrators will be able to view the page. That make sense?
SpencerC replied on at Permalink Reply
SpencerC
I wish there was a better way to do this as well, so pages can revert back to the state of when you first created the page and clicked Preview, a limbo state. It's not so user friendly for the end user especially if they cannot access permissions. That being said hursey013 has the best answer.
ministrycrm replied on at Permalink Reply
ministrycrm
Here is my hack:
Step 1: Create an "date time" attribute and call it unpublish_date

Step 2: Put the following code in your header file
<?php
$unpublish = $c->getAttribute('unpublish_date');
if ($unpublish !='' && time() >= strtotime($unpublish)) {
    header("Location: /");
}
?>


This will redirect user to your homepage and avoid a 404 error.

Now if anyone has any ideas on how to unpublish an image from a slideshow, I am all ears.