最近,我用orchard制作了一个网页,并试图通过orchard协作创建一个问答页面。我知道,通过使用票证仪表板,我可以很容易地得出一个类似这的结果,.The的问题会根据项目的不同而被分成不同的组。但是现在,我正在考虑让管理员在单击票证仪表板时看到每个项目的项目-仪表板。有人能告诉我怎么做吗?非常感谢!
发布于 2016-07-26 04:49:00
有一些选项可以帮助你。我想到的其中之一就是这个。
1. You need a corresponding view for the Parts\_Project\_Dashboard and the associated entry in the placement.info. For the view, you can reuse the code of the view in Orchard.CRM.Core/Views/Parts/Dashboard.cshtml
2. Next step, you can create a custom Query that gets all projects with a shape layout and DisplayType = "ProjectTicketDashboard".
3. And finally, use a projection to display the previous query in the HomePage
如果你还有什么问题请告诉我。西亚曼德
https://stackoverflow.com/questions/38579855
复制相似问题