rash Posted August 22, 2019 Share Posted August 22, 2019 Hi guys, I’m writing on a brief editor’s manual what reminds me of a topic I repeatedly stumble upon: What are the exact differences between unpublished, hidden and locked pages? Just to make it clear: There is no problem with checking or setting the status and using the result for whatever. The only thing I don’t really understand is the editor’s view: What is happening with the states beside their usage in my templates? Surprisingly, the otherwise excellent PW docs don’t reveal too much about. 1 Link to comment Share on other sites More sharing options...
arjen Posted August 22, 2019 Share Posted August 22, 2019 Hi, I agree it is a bit hidden, but it is here -> https://processwire.com/api/ref/page/#pwapi-methods-constants. 4 Link to comment Share on other sites More sharing options...
Robin S Posted August 22, 2019 Share Posted August 22, 2019 The notes on the Settings tab of Page Edit are a good summary of what the statuses mean: Hidden and unpublished pages are both excluded from selectors (unless you override this) - the difference is that a hidden page is viewable if the URL is known, whereas an unpublished page cannot be viewed unless the user is logged in and has edit access for the page. 5 Link to comment Share on other sites More sharing options...
rash Posted August 22, 2019 Author Share Posted August 22, 2019 Thanks a lot, arjen and Robin S. At least my ignorance of the notes in the settings tabs is undoubtedly a bit embarrasing. But good to understand it for now and the future. 1 Link to comment Share on other sites More sharing options...
dragan Posted August 22, 2019 Share Posted August 22, 2019 What is Page::statusIncomplete? Never saw this before... Link to comment Share on other sites More sharing options...
szabesz Posted August 22, 2019 Share Posted August 22, 2019 5 hours ago, dragan said: What is Page::statusIncomplete? https://github.com/processwire/processwire-issues/issues/252#issuecomment-467473684 Quote: "If a page is saved (in the admin) and errors are generated by the page editor form, the page receives a Page::statusIncomplete status, indicating something may be missing on the page. When the page is saved without error, this status is removed." There is more about it in the GitHub issue. 5 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now