0

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. 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. Is there some bulk action I can use here to get all the categories assigned?

4

1 回答 1

2

category表中的tt_news列表示分配给新闻文章的类别数,而新闻与类别之间的关系在tt_news_cat_mm表中。

因此,请检查tt_news_cat_mm表格并查看关系是否确实如预期的那样存在。该uid_local列包含新闻文章的 UID,而该uid_foreign列包含新闻类别的 UID。

于 2013-01-25T12:19:40.287 回答