首页 > 解决方案 > Typo3 8.7.x / Typoscript:无法在表格页面中添加字段

问题描述

任何人都知道为什么我不能将我的字段 tx_myext_myfield 添加到带有打字稿的表格页面中?

排版

test = TEXT
test {
    datawrap = My field: {levelfield : -1 , tx_myext_myfield, slide}
}

标签: phptypo3typoscriptfluidtypo3-8.x

解决方案


Get the value of the user defined field user_myExtField in the root line. Requires additional configuration in $GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] to include field.:

从文档

https://docs.typo3.org/typo3cms/TyposcriptReference/DataTypes/Index.html?highlight=addrootlinefield#levelfield


推荐阅读