Cotonti/Cotonti — Issue #814: Improvemnt on Page Dates handling
Author: Kilandor
Created: 2012-01-22 18:04:57+00:00
State: open
Labels: enhancement

The discussion started here
https://github.com/Cotonti/Cotonti/commit/adafa78c3345f63e7a0a8140c4a2cb4ca9ef6e41

A few improvements could be made. First change page_date to page_created

I think begin, expire, and created should become optional fields.
An admin may want to set the created date to match a future date of begin
If begin is not set it shall simply become $sys['now'] as suggested by GHengeveld however if it is set by an admin it should become that value.
Expire should be optional and if no value is set then it shall not expire rather than by default setting expire date to a year ahead.
Both will always have the option to be edited as they are now.

page_version, I don't think that it is a general need for most people? It seems like nothing more than a validation count as to how many times it has been validated.

page_updated well it apparently already exists and I can only assume yes it would exist and be updated on changes