简体   繁体   中英

TYPO3 8.7: Set page type programmatically

作为 TYPO3 的新手,我有兴趣了解如何以编程方式在页面创建的后端添加 TYPO3 页面类型。

As you can find in the manual you can set a default value for each field of any table with Page-/User-TSconfig .

general:

TCAdefaults.<table>.<field> = <value>

specific:

TCAdefaults.pages.doktype = 123

(replace 123 with your doktype)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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