Workflow / Content Staging
Simple Workflow / Content Staging in available on multi items templates
-
publish status : draft / published
-
start publish date / end publish date
The idea is : when the item is not published, you can only see it when you are in edit mode.
To make it works,you need only to have the fields whith specific names present in shema.json
Example of schema and options :
"publishstartdate": {
"title": "Publish Start Date",
"required": true,
"default": "today"
},
"publishenddate": {
"title": "Publish End Date",
"required": true,
"default": "2099-12-31"
},
"publishstatus": {
"title": "Status",
"enum": [ "draft", "published" ],
"required": true,
"default": "draft"
}
"publishstartdate": {
"type": "date",
"picker": {
"format": "DD/MM/YYYY",
"minDate": "2000-01-01",
"maxDate": "2099-12-31",
"locale": "nl"
}
},
"publishenddate": {
"type": "date",
"picker": {
"format": "DD/MM/YYYY",
"minDate": "2000-01-01",
"maxDate": "2099-12-31",
"locale": "nl"
}
}
A full example can be found in the Articles template
Updated less than a minute ago