Php FlexForm在TYPO3中未显示可切换控制器动作中的元素
我很难找出我的可切换控制器动作的错误 我使用的是TYPO3 v7.6.10 extensionkey/Configuration/TCA/Overrides/tt_content.php中的条目:Php FlexForm在TYPO3中未显示可切换控制器动作中的元素,php,typo3,fluid,extbase,typo3-7.6.x,Php,Typo3,Fluid,Extbase,Typo3 7.6.x,我很难找出我的可切换控制器动作的错误 我使用的是TYPO3 v7.6.10 extensionkey/Configuration/TCA/Overrides/tt_content.php中的条目: $pluginSignature = 'simpleblog_bloglisting'; $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform'; \TYP
$pluginSignature = 'simpleblog_bloglisting';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:simpleblog/Configuration/FlexForms/FF_Simpleblog_Bloglisting.xml' );
extensionkey/Configuration/TCA/FlexForms/FF_Simpleblog_Bloglisting.xml:
<T3DataStructure>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>Blog Config</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<settings.blog.max>
<TCEforms>
<label>Max number of Blogs</label>
<config>
<type>input</type>
<size>2</size>
<eval>int</eval>
<default>4</default>
</config>
</TCEforms>
</settings.blog.max>
<settings.blog.min>
<TCEforms>
<label>Page Browser</label>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>pages</allowed>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
<show_thumbs>1</show_thumbs>
</config>
</TCEforms>
</settings.blog.min>
<switchableControllerActions>
<TCEForms>
<label>Type</label>
<config>
<type>select</type>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">read only</numIndex>
<numIndex index="1">Blog->list;Blog->show</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">writable</numIndex>
<numIndex index="1">Blog->list;Blog->show;Blog->deleteConfirm;Blog->delete</numIndex>
</numIndex>
</items>
</config>
</TCEForms>
</switchableControllerActions>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>
博客配置
排列
博客的最大数量
输入
2.
int
4.
页面浏览器
组
分贝
页
1.
1.
0
1.
类型
选择
只读
博客->列表;博客->展示
可写
博客->列表;博客->展示;博客->删除确认;博客->删除
将显示
标记中的元素,但不显示中的元素。我很确定这是以下类型:TCEForms
vsTCEForms
-查看f
谢谢!这就是问题所在。