Does it work with Genoa 0.6.20??
#30993 GHengeveld:
I've just implemented a 5-phase page state sequence. A page can now have one of the following statuses:
-
Draft (work-in-progress, not visible in validation queue)
-
Pending (visible in validation queue)
-
Approved (validated by moderator but the page_begin time isn't reached yet)
-
Published (validated and active)
-
Expired (validated, but page_expire has passed)
When adding or editing a page you now have the option to 'Save as Draft' besides 'Submit for validation' (previously 'Submit') and 'Publish' (only for admins). Also, after saving as draft you're taken back to the edit screen, so you can continue working on the page.
There are 2 new page tags for status: {PAGE_STATUS} and {PAGE_LOCALSTATUS}. STATUS is the lowercase, English status string (draft, pending, approved, published, expired) while LOCALSTATUS is the localized version of it as defined in page.en.lang.php.
The system is backwards compatible with templates that use the old 'rpublish' submit button. In the new templates you should use 3 buttons with name="rpagestate" and a value of 0 (approved/published), 1 (pending) or 2 (draft).
Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks
https://evlear.com