Modify the setting. ASPX page for Sharepoint (that is, modify the settings page for all websites)

Source: Internet
Author: User

Setting. aspxPut inC:/Program Files/Common Files/Microsoft Shared/web server extensions/12/TEMPLATE/LAYOUTSIn the folder, I have studied it for a long time, but I still cannot figure out a way to make changes on this page to meet the needs, so I have to think of another method.

It took a long time to find out,Setting. aspxThe data read by the page comes from C:/Program Files/Common Files/Microsoft Shared/web server extensions/12/TEMPLATE/FEATURES/SiteSettings. xml,Setting. aspxThe following links are read from here, but some links do not seem to be read from here.

If you want to add your own link or delete the original link, you can modifyC:/Program Files/Common Files/Microsoft Shared/web server extensions/12/TEMPLATE/FEATURES/SiteSettings. xmlNode under

Example:

If you want to change a column to its own link bar, for example, change the title of the first columnZhang Wei, But found that this xml can not be written into the Chinese, otherwise there will be an error, even if the encoding to gb2312 is useless, may read the stream with a UTF-8

So you need to find

The $ Resources read by SiteSettings. xml is
C:/Program Files/Common Files/Microsoft Shared/web server extensions/12/Resources/core. The zh-CN.resx should only apply to the Chinese version, open this file with VS2005, add a resource namedZw, Value:Zhang Wei

Change SiteSettings. xml to the corresponding value.

<CustomActionGroup
Id = "UsersAndPermissions"
Location = "Microsoft. SharePoint. SiteSettings"
Title = "$ Resources: zw ;"
Sequence = "10"
Description = ""/>

<CustomActionGroup> refers to a chain bar.

Id indicates the ID of the CustomActionGroup.

Location should be the namespace

Title refers to the Title displayed. It points to the zw you just added.

In this way, the title of the first column is modified.

Finally, you need to restart the IIS service to see the effect.

PS: Because I just learned SharePoint, said wrong, or there is a better way, please point out, you can reply or mail to me, my mailbox is scutzw@sina.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.