有没有办法为tt_news设置默认类别,这样用户在创建新闻时不需要明确指定类别?
You can set it with PageTS
:
TCAdefaults.tt_news.category = 123
Make sure that editing user (if is not a admin) has proper rights to edit category field, otherwise the default category won't be saved.
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.