惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
Hacker News: Ask HN
Hacker News: Ask HN
The Hacker News
The Hacker News
S
Security Affairs
T
Tor Project blog
N
News | PayPal Newsroom
V2EX - 技术
V2EX - 技术
Microsoft Security Blog
Microsoft Security Blog
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
P
Palo Alto Networks Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Vercel News
Vercel News
W
WeLiveSecurity
Y
Y Combinator Blog
TaoSecurity Blog
TaoSecurity Blog
MongoDB | Blog
MongoDB | Blog
Cloudbric
Cloudbric
大猫的无限游戏
大猫的无限游戏
Blog — PlanetScale
Blog — PlanetScale
G
GRAHAM CLULEY
博客园 - 聂微东
月光博客
月光博客
T
The Exploit Database - CXSecurity.com
C
Cyber Attacks, Cyber Crime and Cyber Security
Latest news
Latest news
H
Help Net Security
U
Unit 42
P
Privacy & Cybersecurity Law Blog
The GitHub Blog
The GitHub Blog
S
Securelist
The Last Watchdog
The Last Watchdog
Stack Overflow Blog
Stack Overflow Blog
H
Hacker News: Front Page
C
Check Point Blog
Schneier on Security
Schneier on Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Schneier on Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
A
Arctic Wolf
P
Privacy International News Feed
WordPress大学
WordPress大学
T
Threatpost
博客园_首页
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Secure Thoughts
Simon Willison's Weblog
Simon Willison's Weblog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Jina AI
Jina AI

博客园 - yier

ZZ:修改sharepoint文档库文件类型显示图标(PDF,WinRAR) ZZ: How to remove 'Open in Windows Explorer' from the 'Actions Menu' zz: 如何查询SQL Server数据库的版本 zz: 关闭WIN2003关机事件跟踪程序 zz:MOSS內容資料庫的分配與管理 zz:CAML簡介 zz:全局化定制MOSS樣式 zz:貼幾個常用的MOSS樣式選擇器 ZZ:SharePoint常用目录介绍 ZZ:如何修改默认的site template大小 ZZ:JMeter使用指南 ZZ: Moving or Renaming the WSS Central Administration Content Database zz: 如何移動已存在的SQL Server 2005中的user database Search settings - Authentication failed because the remote party has closed the transport stream - yier zz: Calculated Columns - Displaying Images from oscar ZZ: Uploads with SharePoint 2007 - Antivirus From Eric Cherng zz: SharePoint 2007 Folders from Eric Cherng [原创] 在dos命令行里面取当天是“星期几" ZZ: 如何禁止掉SharePoint页面个性化?(续) from kaneboy
zz:如何更改列表项前的New标记的天数设置(days-to-show-new-icon ) from Jianyi
yier · 2008-11-30 · via 博客园 - yier

今天群里有人问,查了下资料. 方法很简单:可以采用stsadm设置系统认为列表项是新的天数.

在MOSS服务器上运行以下命令:

cd C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>
stsadm -o setproperty -propertyname days-to-show-new-icon -pv 3 -url http://ssjin073:9031/

以上命令将days-to-show-new-icon 的值改为3。

可以采用以下命令查看修改结果:

stsadm -o getproperty -propertyname days-to-show-new-icon -url http://ssjin073:9031/

另外,如果想要把那个 新 标识完全取消掉,可以采用SPCamlEditor修改字段的schema :

用SPCAMLEditor打开站点,找到要修改的列表,找到 标题(链接到项目) 栏,删掉<DisplayPattern>中的以下内容:

 <IfNew>
        <HTML><![CDATA[<IMG SRC="/_layouts/2052/images/new.gif" alt="]]></HTML>
        <HTML>新建</HTML>
        <HTML><![CDATA[">]]></HTML>
</IfNew>