Customize login.aspx

Hi,

 I'm new to EXCM and would like to customize my _layouts/login.aspx web page. What is the best way to do this without breaking MOSS?

 Any examples or resources would help tremendously.

Thanks

 Ewan

Have more questions? Submit a request

1 Comments

  • 0
    Avatar
    Matthew McBride

    This is a common task when setting up FBA and/or ExCM. If is best practice to not edit existing WSS or MOSS files. The best way to change the login page for an FBA site is to navigate to the layouts directory found in the SharePoint 12 hive...

    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS

    Copy the login.aspx page and rename it to extlogin.aspx (or any other name you wish). You must then tell SharePoint where the new login page is located at. This can be done from the web.config file of your FBA zone. Modify the loginUrl attribute of the <forms /> tag.

    (Forms Element)
    http://msdn.microsoft.com/en-us/library/1d3t3c61.aspx

    You are then free to modify this page as you wish. ExCM ships with a couple different sample login pages. Some include a 'Forgot my password' like, other include links to the ExCM registration pages. You can find these examples here...

    C:\Program Files\SharePoint Solutions\Extranet Collaboration Manager\Customizations

    This directory also includes samples for login pages which match your publishing or team site.

Please sign in to leave a comment.