Table of Contents


Including Login option on public landing pages

This control create a login box widget on your active page which complies with all settings configured for the target portal (main or child custom communities).
These settings include but not limited to:

  1. Whether or not self-registration is enabled
  2. Whether or not signup/registration page is overwritten or customized
  3. External login options provided such as Login with Google, LinkedIn, Twitter or Facebook.
  4. Single-Sign-On options using SAML
     
<aspx:TemplatePartialView ID="LoginBox" runat="server" 
     Controller="User" 
     TemplateName="LoginResponsive">
</aspx:TemplatePartialView>

 

If you wish to customize headings you can use the following parameters to overwrite the default heading (which are translated into all supported languages with your custom ones).

<aspx:TemplatePartialView ID="LoginBox" runat="server"
  Controller="User"
  TemplateName="LoginResponsive">
    <parameters>
      <aspx:param runat="server" Name="Title" Value="Login" />
      <aspx:param runat="server" Name="SignUpTitle" Value="Not a member yet?" />
      <aspx:param runat="server" Name="ButtonText" Value="Login" />
    </parameters>
</aspx:TemplatePartialView>

Note that the above params are optional and you can include only the ones you need to overwrite.

This component works independently and does not require any controller backend code.

Last updated on 8/23/2022

Attachments