Project

General

Profile

Bug #88617 ยป remove-backend-condition-for-pagets.patch

Mathias Bolt Lesniak, 2019-06-23 12:24

View differences:

ext_localconf.php (date 1561284931000)
);
// Add login to new content element wizard
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
mod.wizards.newContentElement.wizardItems.forms {
elements.login {
iconIdentifier = content-elements-login
title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:forms_login_title
description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:forms_login_description
tt_content_defValues {
CType = login
}
}
show :=addToList(login)
}
');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
mod.wizards.newContentElement.wizardItems.forms {
elements.login {
iconIdentifier = content-elements-login
title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:forms_login_title
description = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:forms_login_description
tt_content_defValues {
CType = login
}
}
show :=addToList(login)
}
');
// Page module hook
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem']['felogin'] = \TYPO3\CMS\Felogin\Hooks\CmsLayout::class;
    (1-1/1)