Fluidtypo3 Flux - save in table field

喜夏-厌秋 提交于 2019-12-08 02:48:14

问题


I'm trying to develop a frontend extensions with typo3 - fluidcontent. Is it possible to use the bodytext field of the tt_content table instead of the flexform field?

I would like to connect this text element with the tt_content.bodytext field.

<flux:field.text name="bodytext" label="Content" />

回答1:


You can force Flux to save to the record itself, rather than the flexform field, by prefixing your field names with the name of the table that your form applies to. For example, since this implementation is for tt_content, you can name the field tt_content.bodytext and the value will be saved to that field instead.



来源:https://stackoverflow.com/questions/39245182/fluidtypo3-flux-save-in-table-field

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!