[英]After upgrade TYPO3 6.2 to TYPO3 7.6 'page Layout' not display in Backend
Versions: 版本:
TYPO3 :- 7.6.18
Flux: 7.4.0
Vhs: - 3.0.1
Fluidpages: 3.6.0
Fluidcontent: 4.4.1
I already modified in typoscript also select 'fluidpage' from 'Appearance' BE Tab. 我已经在打字稿中进行了修改,还从“外观”“ BE”选项卡中选择了“ fluidpage”。
5 >
5 = USER
5.userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
5.extensionName = Fluidpages
5.vendorName = FluidTYPO3
5.pluginName = Page
10 >
But still not showing 'page layout' in backend. 但仍未在后端显示“页面布局”。
Make sure you registered the extension that hld your page templates as a provider in the extensions ext_localconf.php
: 请确保您注册的HLD您的页面模板作为扩展供应商扩展
ext_localconf.php
:
\FluidTYPO3\Flux\Core::registerProviderExtensionKey('Vendor.MyExt', 'Page');
Then put your page templates under Resources/Private/Templates/Page
and you should be fine. 然后将页面模板放在“
Resources/Private/Templates/Page
,就可以了。 Your templates need at least a configuration and a content section: 您的模板至少需要一个配置和一个内容部分:
<f:layout name="Page/Default" />
<f:section name="Configuration">
<flux:form id="MyPage" />
<flux:form.option name="icon" value="EXT:my_ext/Resources/Public/Icons/PageIcon.jpg" />
// Additional configuration
</f:section>
<f:section name="Content">
//render the content
</f:section>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.