Publish behaviour in v1

edited January 2013 in Bug Reports
I've noticed that in v1, if you are logged in to the admin, and view an "un-published" page on the front-end, it will appear as published. Obviously, if you are not logged in, the page returns 404 as expected.

Is this the appropriate behaviour? It's certainly a bit confusing if you unpublish a page, and later see it is still there.

Comments

  • edited 7:32PM
    By allowing you to see it, you can keep the page unpublished and test it out before publishing it. To help prevent confusion, you should see a "This page is not published" appear in red right next to the FUEL bar in the upper right? Are you not seeing that?

    As a side note, there is a property you can set on your module models of "display_unpublished_if_logged_in" that can be used to display if logged in or not. By default it is set to FALSE.
  • edited 7:32PM
    Yep - big red alert top right - how did I miss that earlier!?

    OK no problems there then!
Sign In or Register to comment.