Sharepoint Content Approval message

心已入冬 提交于 2020-01-13 06:57:07

问题


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.

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?

The site is currently on wss 2007


回答1:


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.

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



来源:https://stackoverflow.com/questions/3356189/sharepoint-content-approval-message

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!