Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3.org
Commits
4bfa4175
Commit
4bfa4175
authored
Apr 15, 2021
by
Jonas Götze
Browse files
[WIP][FEATURE] Add fields for publish datetimes
parent
48e3f1bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
extensions/t3org_layout/Resources/Private/Forms/eventSubmission.form.yaml
View file @
4bfa4175
...
...
@@ -38,6 +38,14 @@ finishers:
enddate
:
mapOnDatabaseColumn
:
'
enddate'
addTimeFromField
:
'
endtime'
publishstartdate
:
mapOnDatabaseColumn
:
'
starttime'
addTimeFromField
:
'
publishstarttime'
skipIfValueIsEmpty
:
true
publishenddate
:
mapOnDatabaseColumn
:
'
endtime'
addTimeFromField
:
'
publishendtime'
skipIfValueIsEmpty
:
true
teaser
:
mapOnDatabaseColumn
:
'
teaser'
description
:
...
...
@@ -133,7 +141,7 @@ renderables:
identifier
:
NotEmpty
-
type
:
GridRow
identifier
:
gridrow-
1
identifier
:
gridrow-
event-datetimes
label
:
'
Grid:
Row'
renderables
:
-
...
...
@@ -249,3 +257,52 @@ renderables:
type
:
ImageUpload
identifier
:
image
label
:
Images
-
type
:
GridRow
identifier
:
gridrow-publish-datetimes
label
:
'
Grid:
Row'
renderables
:
-
defaultValue
:
'
'
properties
:
fluidAdditionalAttributes
:
step
:
1
elementDescription
:
'
The
date
from
which
on
this
event
will
be
visible'
type
:
Date
identifier
:
publishstartdate
label
:
'
Publish
from
date'
-
defaultValue
:
'
'
properties
:
elementDescription
:
'
The
time
from
which
on
this
event
will
be
visible
(hh:mm)'
type
:
Text
identifier
:
publishstarttime
label
:
'
Publish
from
time'
validators
:
-
identifier
:
RegularExpression
options
:
regularExpression
:
'
/^(2[0-3]|[01]?[0-9]):([0-5]?[0-9])$/'
-
defaultValue
:
'
'
properties
:
fluidAdditionalAttributes
:
min
:
'
'
max
:
'
'
step
:
1
elementDescription
:
'
The
date
from
which
on
this
event
will
no
be
visible
anymore'
type
:
Date
identifier
:
publishenddate
label
:
'
Publish
end
date'
-
defaultValue
:
'
'
properties
:
elementDescription
:
'
The
time
from
which
on
this
event
will
not
be
visible
anymore
(hh:mm)'
type
:
Text
identifier
:
publishendtime
label
:
'
Publish
end
time'
validators
:
-
identifier
:
RegularExpression
options
:
regularExpression
:
'
/^(2[0-3]|[01]?[0-9]):([0-5]?[0-9])$/'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment