Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
t3o
my.typo3.org
Commits
2760c860
Commit
2760c860
authored
Jan 20, 2018
by
Thomas Löffler
Browse files
Add TCA field for terms_version
parent
9de60f50
Pipeline
#3423
passed with stages
in 3 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/t3omy/Configuration/TCA/Overrides/fe_users.php
View file @
2760c860
...
...
@@ -25,9 +25,16 @@ $feUsersColumns = [
'type'
=>
'input'
,
]
],
'terms_version'
=>
array
(
'exclude'
=>
0
,
'label'
=>
'Version of accepted terms'
,
'config'
=>
array
(
'type'
=>
'input'
),
),
];
$fields
=
'github, twitter, facebook,'
;
$fields
=
'github, twitter, facebook,
terms_version
'
;
\
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
::
addToAllTCAtypes
(
'fe_users'
,
...
...
@@ -35,6 +42,12 @@ $fields = 'github, twitter, facebook,';
''
,
'after:name'
);
\
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
::
addToAllTCAtypes
(
'fe_users'
,
'terms_version'
,
''
,
'after:tx_femanager_terms_date_of_acceptance'
);
\
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
::
addTCAcolumns
(
'fe_users'
,
$feUsersColumns
);
\
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
::
addToAllTCAtypes
(
'fe_users'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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