Create pages with only title field, logic
Posted 01 July 2012 - 11:58 AM
When i create a new page, and then save, with a template that only has the title field the page goes straight to published status.
Is this by design? If so i'm curious about the reasoning behind this.
Posted 01 July 2012 - 01:08 PM
"Pages using this template are not viewable because the template file (tt.php) does not exist [no-file]."
So i guess publish/un-publish haas no relevance for file-less template pages.
Posted 01 July 2012 - 02:16 PM
Posted 02 July 2012 - 01:06 PM
Other pages start 'unpublished' because the editor wasn't able to see all the fields at the time they created the page. Obviously it would be premature for that page to enter a published state before the editor had an opportunity to populate it's fields.
Whereas, when the editor creates a page that has nothing other than a 'title' field, they've seen all the fields there are at the time they created the page. The need for a page to go into an intermediate 'unpublished' state is much less likely.
Granted, there are still the rare situations where you may actually want that page to be unpublished, even if you have nothing more than a 'title' (like if you are building the first page in a structure of pages). In such cases, after I create the page I click to the 'settings' tab and check the box for 'unpublished', then save. However, the vast majority of the time that users create title-only pages, the intermediate unpublished step is an annoyance. So the behavior is aimed at reducing annoyance. We didn't used to have this behavior, and there was indeed much annoyance with numerous accidental unpublished pages and the like.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users