Use this project to deploy your own customized login page.

Customize the custom login page UI
  1. Open the file IPSLogin.aspx and change the markup to make static customizations
  2. OPen the file IPSLogin.cs and add your customizations to the method CustomizeLoginPageUI. Example:
// Set welcome message
this.WelcomeMessage.Text = IPSResxHelper.GetResourceValue(Constants.Resource_File_Name, Constants.Resource_WelcomeMsg_Key, SPContext.Current.Web.Language);


Add additional steps to the logging proccess:
  1. Execute optional tasks: modify or overrride the method _ExecuteOptionalTasks as your own requirements
  2. Execute required tasks: modify the method ExecuteRequiredTasks as your own requirements. Example:
private void ExecuteRequiredTasks()
{
	LogProvider.WriteLogEntry(IPS.SP2013.DiagnosticsProvider.Constants.CategoryNames.Infomation,
		"IPSLogin.ExecuteRequiredTasks(): Start");

	try
	{
		this.AddCurrentSiteCookie();
	}
	catch (Exception ex)
	{
		LogProvider.WriteLogEntry(IPS.SP2013.DiagnosticsProvider.Constants.CategoryNames.Error,
								  "IPSLogin.ExecuteRequiredTasks(): " + ex.Message);
		return;
	}

	LogProvider.WriteLogEntry(IPS.SP2013.DiagnosticsProvider.Constants.CategoryNames.Success,
		"IPSLogin.ExecuteRequiredTasks(): End");
}

Last edited Jan 19, 2014 at 1:29 PM by iparedes, version 4