[英]Importing tt_news articles in typo3
I have imported over 1000 articles from one version of tt_news (2.5.2) to the latest version, I also imported the news categories. 我已经从一个版本的tt_news(2.5.2)导入了1000多篇文章到最新版本,我还导入了新闻类别。 Everything seemed to come across except the news categories don't appear to be assigned to the articles if you view them in list > news articles folder, but they do appear when you go into the table in the database.
如果您在列表>新闻文章文件夹中查看新闻类别似乎没有分配给文章,那么似乎一切都会遇到,但是当您进入数据库中的表格时它们会出现。 eg the article with uid = 1 has category 2 assigned to it in the tt_news table but when you view it in list > news articles it says has no categories assigned.
例如,uid = 1的文章在tt_news表中为其分配了类别2,但是当您在列表>新闻文章中查看它时,它表示没有分配类别。 Is there some bulk action I can use here to get all the categories assigned?
我可以在这里使用一些批量操作来分配所有类别吗?
category
column in the tt_news
table signifies the number of categories assigned to the news article while the relations between news and categories is in the tt_news_cat_mm
table. tt_news
表中的category
列表示分配给新闻文章的类别数,而新闻和类别之间的关系位于tt_news_cat_mm
表中。
Therefore, check the tt_news_cat_mm
table and see whether the relations are truly there as they are supposed to. 因此,检查
tt_news_cat_mm
表并查看关系是否真正存在于它们应该的位置。 The uid_local
column contains UIDs of the news articles while the uid_foreign
column contains UIDs of the news categories. uid_local
列包含新闻文章的UID,而uid_foreign
列包含新闻类别的UID。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.