我正在尝试在我的扩展的 flexform 中添加“添加向导”,但添加按钮没有显示。顺便说一句,flexform 本身正在工作。我想让后端用户可以从插件配置中添加新项目。ps:重新安装扩展,清除所有缓存...我的flexform:
<T3DataStructure>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>Viewer Configuration</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<settings.viewer>
<TCEforms>
<label>Viewer select</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<size>1</size>
<minitems>0</minitems>
<maxitems>1</maxitems>
<foreign_table>tx_myext_domain_model_viewer</foreign_table>
<foreign_table_where>AND tx_myext_domain_model_viewer.deleted = 0 AND tx_myext_domain_model_viewer.hidden = 0 AND tx_myext_domain_model_viewer.pid = ###CURRENT_PID### ORDER BY tx_myext_domain_model_viewer.name</foreign_table_where>
<wizards>
<add>
<type>script</type>
<title>Create</title>
<icon>EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_add.gif</icon>
<params>
<table>tx_myext_domain_model_viewer</table>
<setValue>set</setValue>
<pid>###CURRENT_PID###</pid>
</params>
<module>
<name>wizard_add</name>
</module>
</add>
</wizards>
</config>
</TCEforms>
</settings.viewer>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>