简体   繁体   English

2sxc - dnn - 新闻应用 v3.1.5 - 过滤问题

[英]2sxc - dnn - News app v3.1.5 - Problem with filtering

Hello 2sxc News app experts,您好 2sxc 新闻应用程序专家,

hopefully you can help me with my 2sxc News app v3.1.5 (2sxc v10.25.2).希望你能帮助我使用我的 2sxc 新闻应用程序 v3.1.5 (2sxc v10.25.2)。

I am struggeling with following problem: On one page I inserted the News app.我正在努力解决以下问题:在一页上我插入了新闻应用程序。 Created some categories (category1..3).创建了一些类别(category1..3)。 After this I created some news items and chose one category for every news item.在此之后,我创建了一些新闻项目并为每个新闻项目选择了一个类别。

After this I created a News module on another tab to show the newest 3 items of a dedicated category.在此之后,我在另一个选项卡上创建了一个新闻模块,以显示专用类别的最新 3 个项目。 I modified the ViewConfiguration (id of the previous module, tab of the previous module, "category1").我修改了 ViewConfiguration(上一个模块的 ID,上一个模块的选项卡,“category1”)。

What I expected was to see all news items of "category1".我期望的是看到“category1”的所有新闻项目。 But unfortunately I see all items.但不幸的是,我看到了所有项目。 The filter did not work.过滤器不起作用。

What I tried so far (with no success):到目前为止我尝试过的(没有成功):

  • Recreation of categories (delete categories from news items, deletion of all Categories, creation of categories, adding one category to a news item).重新创建类别(从新闻项目中删除类别、删除所有类别、创建类别、向新闻项目添加一个类别)。
  • Export and reimport of data (export all data to xml, deletion of all data, reimport of all data)数据的导出和重新导入(将所有数据导出到xml,删除所有数据,重新导入所有数据)

What I can see in query designer is, that the link from "ModuleDataSource" to "View Category" is showing 1 item (probably the category of the ViewConfiguration), but the result of RelationshipFilter after "View Category" to "StreamFallback" is showing 0 items.我在查询设计器中看到的是,从“ModuleDataSource”到“View Category”的链接显示了1个项目(可能是ViewConfiguration的类别),但是“View Category”到“StreamFallback”之后的RelationshipFilter的结果正在显示0 项。 So the fallback comes in play and all items are showing.所以回退开始发挥作用,所有项目都在显示。

From here I have no idea what to check or what to configure, to get the Category of the ViewConfiguration get working.从这里我不知道要检查什么或配置什么,以使 ViewConfiguration 的类别开始工作。 Has anyone a hint or an idea?有没有人有提示或想法?

Any help is appreciated.任何帮助表示赞赏。 Thank you very much!非常感谢!

welcome to StackOverflow :)欢迎来到 StackOverflow :)

So first of all - we just released a new News app V4 today!所以首先 - 我们今天刚刚发布了一个新的新闻应用程序 V4! https://2sxc.org/en/apps/app/news-app-v4 https://2sxc.org/en/apps/app/news-app-v4

It's a complete rework of the News so if you're just getting started - I would start there.这是对新闻的完全重做,所以如果您刚刚开始 - 我会从那里开始。 My guess is whatever you need is already fixed ;)我的猜测是您需要的任何东西都已修复;)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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