如何隐藏“!”新”在共享点列表上标记而不影响站点中包含的列表?
有谁知道是否可以隐藏附加到新 SharePoint 列表项的标题字段的“新”标签?
我有一个夜间脚本,可以将列表从一个站点复制到另一个站点列表,并且不需要显示新的列表。
Does anybody know if it is possible to hide the "NEW" label that gets appended to the Title field of a new SharePoint list item?
I have a nightly script that copies a list from one site to another site list and don't need the NEW to show up.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您只想从单个视图或页面而不是 Web 应用程序中的每个列表中删除它们的图像,您可以使用最喜欢的工具 SsharePoint UI 黑客无处不在 - 内容编辑器 Web 部件 (CEWP) 以及 javascript/jquery/css。
在这种情况下很简单,只需要 CSS。
对于 SharePoint 2010
新图像显示如下
如果您将以下样式添加到 CEWP 中(您必须使用 HTML 源视图,而不是富文本编辑器)。
新图像将被隐藏。
WSS3 和 SharePoint 2007
CSS 稍微复杂一些
If you just want to remove them image from a single view or page rather than every list in the web application what you can use the favourite tool of SharePoint UI hackers everywhere - the Content Editor Web Part (CEWP) along with javascript/jquery/css.
In this case its easy, only CSS required.
For SharePoint 2010
The New image is displayed as so
So if you add the following style into a CEWP (you have to use the HTML Source View, rather than the Rich Text Editor).
The New image will be hidden.
WSS3 and SharePoint 2007
The CSS is a little more complex
您可以设置 days-to-show-new- 的值icon 属性设置为 0。但是,这会影响整个网站;您不能仅对选定的列表执行此操作。
详细信息:如何在将项目添加到 SharePoint Team Services 时阻止显示 !New 标记和 SharePoint Services 网站
You can set the value of days-to-show-new-icon property to 0. However, this affects entire Web site; you cannot do it only for selected lists.
More information: How to stop the !New tag from appearing when you add items to your SharePoint Team Services and SharePoint Services Web site