简体   繁体   English

2sxc Dnn ..将现有内容项添加到模块

[英]2sxc Dnn.. Add existing content items to module

I have a view of entities which are being displayed based on an entity type filter. 我有一个基于实体类型过滤器显示的实体视图。 I now need to reorder these and would like to use the built in 2sxc functionality to do this, so I have a created a new view of the data using the "module data source" so that the ordering will work. 现在,我需要对它们进行重新排序,并想使用内置的2sxc功能来执行此操作,因此我使用“模块数据源”创建了一个新的数据视图,以便可以进行排序。

But how do I now make all of the existing entities of the same type (definition) appear in this new view? 但是,现在如何使所有具有相同类型(定义)的现有实体出现在此新视图中? The view now displays one item by default and I can replace that one item. 现在,该视图默认显示一个项目,我可以替换该项目。 But how do I add multiple existing items? 但是,如何添加多个现有项目? I need the Entity ID's to remain the same for Query String usage and SEO. 我需要实体ID对于查询字符串用法和SEO保持不变。

Thanks, hope the question makes sense. 谢谢,希望这个问题有意义。

Cheers 干杯

I believe that you are asking "how can I add many items to an instance (module) manually, so that I can also sort them manually" - is this correct? 我相信您是在问“如何手动将许多项目添加到实例(模块),以便我也可以手动对其进行排序”-这是正确的吗?

If yes, then you must make sure your template supports lists (checkbox in the template settings). 如果是,则必须确保模板支持列表(模板设置中的复选框)。 This then gives you a [+] button; 然后,您会得到一个[+]按钮; but you don't want to use that, as it would be for typing in new data. 但您不想使用它,因为那样会用于输入新数据。 There's another button called "add an empty demo entry" which you'll see as a round (+) after pressing the more ... button once. 还有一个按钮叫做“添加一个空的演示条目”,按一次more ...按钮后,您会看到它是一个加号(+)。 Pressing this will give you empty entries, into which you can then replace existing items. 按下此键将为您提供空条目,然后您可以在其中替换现有项目。

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

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