简体   繁体   English

HOWTO 将新选项卡和字段添加到 tx_news

[英]HOWTO add new tab and fields to tx_news

Hi my problem is that I need to do a new extension depending on tx_news.嗨,我的问题是我需要根据 tx_news 进行新的扩展。 I want to add a TAB to the plugin options (after template tab) with some fields I looked for the solution, but I can find only instruction to add a new field within the news record, but not for the plugin options.我想在插件选项(在模板选项卡之后)添加一个选项卡,其中包含我寻找解决方案的一些字段,但我只能找到在新闻记录中添加新字段的指令,但不能找到插件选项。

typo3 v9.5 + tx_news v 7.x+ typo3 v9.5 + tx_news v 7.x+

Until now there is no mechanism to add fields to the flexform definition which makes up the plugin options.到目前为止,还没有机制可以将字段添加到构成插件选项的 flexform 定义中。

So you have to provide a complete flexform definition where you still use the old definition.所以你必须提供一个完整的 flexform 定义,你仍然使用旧的定义。 that will break if the original extension changes it's flexform (and change something evidently).如果原始扩展更改它的 flexform(并且明显更改某些内容),那将会中断。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM