开发者

How do I customize the SharePoint 2010 claims based login page?

开发者 https://www.devze.com 2023-03-09 20:12 出处:网络
I have a SharePoint 2010 web application that will be accessed by internal employees and outside partners which I would like to use the same url.

I have a SharePoint 2010 web application that will be accessed by internal employees and outside partners which I would like to use the same url.

I have开发者_如何学运维 it set up for Claims based authentication with Windows and Forms based authentication enabled. The default login page looks as follows:

How do I customize the SharePoint 2010 claims based login page?

I would like to edit the text in the drop-down menu to say "Internal Employees" instead of "Windows Authentication" and "External Partners" instead of "Forms Authentication" as well as change the red error image to the company logo.


if you don't mind a javascript solution you can do something like this:

http://jsfiddle.net/pxfunc/jXd2H/

var ddlLogin = document.getElementById("[drop down's client ID]");
ddlLogin.options[0].innerText = "Internal Employees";
ddlLogin.options[1].innerText = "External Partners";

You'll need to determine the client ID for the select box or if you know the server-side ID use document.getElementById("<%=LoginTypeDropDown.ClientID %>"); (assuming server-side ID is LoginTypeDropDown)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号