forked from FriendsOfTYPO3/frontend_editing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_tables.php
More file actions
28 lines (24 loc) · 921 Bytes
/
ext_tables.php
File metadata and controls
28 lines (24 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
defined('TYPO3_MODE') or die();
// Add BE User setting
$GLOBALS['TYPO3_USER_SETTINGS']['columns']['frontend_editing'] = [
'label' => 'LLL:EXT:frontend_editing/Resources/Private/Language/locallang.xlf:settings.field.frontend_editing',
'type' => 'check',
'default' => 0
];
// Add overlay option User setting
$GLOBALS['TYPO3_USER_SETTINGS']['columns']['frontend_editing_overlay'] = [
'label' => 'LLL:EXT:frontend_editing/Resources/Private/Language/' .
'locallang.xlf:settings.field.frontend_editing_overlay',
'type' => 'check',
'default' => 0
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToUserSettings(
'frontend_editing, frontend_editing_overlay',
'after:edit_RTE'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'frontend_editing',
'Configuration/TypoScript/FluidStyledContent9',
'Editable Fluid Styled Content v9'
);