如何设置讨论列表中显示的主题数量始终为5? [英] How to set the the number of topics shown in the discussion list to be always 5?

查看:97
本文介绍了如何设置讨论列表中显示的主题数量始终为5?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在社区网站目标网页和/SitePages/Category.aspx?CategoryID=X页面中,我想在所有视图中始终只显示5个讨论主题。我们可以通过使用客户端代码而不是使用SP Designer来实现这一目标吗?


提前致谢。

解决方案

< blockquote>

这里你去了



我找到的唯一解决方案是在SharePoint Designer中编辑列表。转到讨论板并在功能区上单击以编辑SharePoint Designer中的列表。当它打开时,单击您正在使用的视图(如主题),然后您将获得一个充满代码的页面。



在页面上查找单词行你会发现  rowcount
默认值为20.只需输入您想要的数字并保存(ctrl + s)。如果您在Web部件中显示您的讨论板,请编辑Web部件并"重新应用"视图。



https://sharepoint.stackexchange.com/questions/149092/sp​​-2013-discussion-board-list-how -to-设置项限制


In community site landing page and in /SitePages/Category.aspx?CategoryID=X page, I want to show only 5 discussion topics always in all views. Can we achieve this by using client side code and not by using SP Designer?

Thanks in advance.

解决方案

Here you go

he only solution I found is to edit the list in SharePoint Designer. Go to the discussion board and on the ribbon click to edit the list in SharePoint Designer. When it opens, click the view you are using (like subject) then you get a page full of code.

Do a find in page on the word row and you'll find a rowcount. The default is 20. Just type in the number you want and save (ctrl + s). If you're displaying your discussion board in a web part edit the web part and "reapply" the view.

https://sharepoint.stackexchange.com/questions/149092/sp-2013-discussion-board-list-how-to-set-item-limit


这篇关于如何设置讨论列表中显示的主题数量始终为5?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆