如何修改讨论区列表. [英] How to modify the Discussion Board List.
问题描述
大家好,
我有一个讨论区列表.
我想在页面上显示特定主题的所有主题和相关主题.
例如.
主题1 与单击的主题相关的主题将显示在这里.
主题2
主题3
如果用户单击任何主题,它将显示与该主题相关的主题.
我想开箱即用.请为此提出建议.
致谢
amol
嗨Amol,
没有一种OOTB方法可以实现它,我们需要做一些定制来实现它.
这里是一种解决方法,供您参考,我们可以单击主题并打开一个模式对话框,以显示与该主题相关的主题.将以下jQuery代码添加到视图页面中的内容编辑器Web部件中.
<脚本src ="//code.jquery.com/jquery-3.1.0.min.js" type ="text/javascript"></script> < script type ="text/javascript">
(function(){
(.ms-comm-postListItem. ms-comm-postSubjectColumn> a).each(function(){
Hi All,
I am having one discussion board list.
I want to show the all the subjects and related threads'for particular subject on the page.
For eg.
Subject 1 Threads related to clicked subject will display here.
Subject 2
Subject 3
If user click on any subject it will display threads related to that subject.
I want to do this out of the box. Please suggest a work around for this.
regards,
amol
Hi Amol,
There is not a OOTB method to achieve it, we need do some customize to achieve it.
Here is a workaround for your reference, we can click the subject and open a modal dialog to show threads related to that subject. Add the following jQuery code into a content editor web part in view page.
<script src="//code.jquery.com/jquery-3.1.0.min.js" type="text/javascript"></script> <script type="text/javascript">
(function () {
(".ms-comm-postListItem .ms-comm-postSubjectColumn>a").each(function(){
这篇关于如何修改讨论区列表.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!