b13 / bolt

Easier integrations for TYPO3 sites
GNU General Public License v2.0
27 stars 13 forks source link

tx_tstemplateceditor and tx_tstemplateinfo does not exist anymore #22

Closed echavaillaz closed 1 year ago

echavaillaz commented 2 years ago

Hi,

You have to update the name of the functions from web_ts in ext_tables.php.

Before:

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
    mod.web_list.deniedNewTables := addToList(sys_template)
    mod.web_ts.menu.function.tx_tstemplateceditor = 0
    mod.web_ts.menu.function.tx_tstemplateinfo = 0
    TCEFORM.pages.TSconfig.disabled=1
');

After:

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
    mod.web_list.deniedNewTables := addToList(sys_template)
    mod.web_ts.menu.function.TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController = 0
    mod.web_ts.menu.function.TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController = 0
    TCEFORM.pages.TSconfig.disabled=1
');

Thanks

h3nn3s commented 1 year ago

This is not valid anymore since v12.0 Now the modules have to be hidden by UserTS

options.hideModules := addToList(web_typoscript_infomodify, web_typoscript_constanteditor)