Sharepoint 内容批准消息 [英] Sharepoint Content Approval message

查看:60
本文介绍了Sharepoint 内容批准消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为列表打开了内容审批.当用户创建项目时,他们会收到消息此列表上的项目需要内容批准.在获得具有适当权利的人批准之前,您提交的内容不会出现在公众视野中.

I Have Content Approval turned on for a list. When Users create Items they get the message 'Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights.'

我想在特定网站集中更改此消息的文本.

I want to change the text of this message in a particular site collection.

我找到了在 \12\config\resources\wss.resx 中定义的消息,密钥为 checkin_publishMajordesc.

I found the message defined in \12\config\resources\wss.resx with a key of checkin_publishMajordesc.

有谁知道是否有办法在网站集级别甚至页面级别覆盖资源文件中的访问?

Does anyone know if there's a way to override the seetiings in the Resources filesat the site collection level, or even at the page level?

该网站目前在 wss 2007

The site is currently on wss 2007

推荐答案

该消息来自 ApprovalMessage 控制.InformationBar 模板正在使用它在 12\TEMPLATE\CONTROLTEMPLATES\DefaultTemplates.ascx 中找到:

The message is from the ApprovalMessage control. It is being used by the InformationBar template found in 12\TEMPLATE\CONTROLTEMPLATES\DefaultTemplates.ascx:

<SharePoint:RenderingTemplate ID="InformationBar" runat="server">
    <Template>
        <SharePoint:GenericInformationBar runat="server">
            <Template_Controls>
                <SharePoint:FileUploadedMessage runat="server"/>
                <SharePoint:ApprovalMessage runat="server"/>
                <SharePoint:EmailCalendarMessage runat="server"/>
                <Sharepoint:CopySourceInfo runat="server" />
                <Sharepoint:AssignToEmailMessage runat="server" />
            </Template_Controls>
        </SharePoint:GenericInformationBar>
    </Template>
</SharePoint:RenderingTemplate>

您可以创建自己的模板来覆盖此行为.示例是此处这里,和这里.

You could create your own template to override this behavior. Examples are here, here, and here.

这需要一些努力,但它有效.或者,您可以使用 CSS 或 Javascript/JQuery 来隐藏/更改 table.ms-informationbar 中的文本.

It takes some effort, but it works. Alternatively, you could use CSS or Javascript/JQuery to hide/change the text inside table.ms-informationbar.

这篇关于Sharepoint 内容批准消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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