jweiland / rlmp_tmplselector
为每个页面或树分支选择不同的模板。易于与外部HTML模板或纯TypoScript模板配合使用!基于现代模板构建教程的修改版。
Requires
- ext-json: *
- typo3/cms-core: ^8.7 || ^9.5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- nimut/testing-framework: ^4.1
This package is auto-updated.
Last update: 2024-09-20 09:03:07 UTC
README
TypoScript中的更改
本版本在TypoScript中做了一些修改
之前: (object) < plugin.tx_rlmptmplselector_pi1
现在: (object) < tt_content.list.20.rlmptmplselector_templateselector
之前: plugin.tx_rlmptmplselector_pi1.templatePathMain =
现在: tt_content.list.20.rlmptmplselector_templateselector.settings.templatePathMain =
之前: plugin.tx_rlmptmplselector_pi1.templatePathSub =
现在: tt_content.list.20.rlmptmplselector_templateselector.settings.templatePathSub =
之前: template.templateType = sub 现在: template.settings.templateType = sub
之前: template.templateType = main 现在: template.settings.templateType = main
TSconfig中的更改
可能需要取消注释以下PageTSconfig中的行
// TCEFORM.pages.tx_rlmptmplselector_main_tmpl.disabled = 1
// TCEFORM.pages.tx_rlmptmplselector_ca_tmpl.removeItems = 0