Magnolia 5.3 reached end of life on June 30, 2017. This branch is no longer supported, see End-of-life policy.

Page tree
Skip to end of metadata
Go to start of metadata

Public User Registration (PUR) components allow site visitors to register themselves on a site. The system creates a public user account for the registered visitors. The login, logout, password retrieval and profile update mechanisms use the registered account. Public users can be given permissions to access a members-only area of the site or comment on pages, for example. Registration, profile update and password retrieval are preconfigured forms delivered as components. The Mail module is to send confirmation messages. A full range of PUR components are provided by the Standard Templating Kit. See STK availability in the Public User Registration module documentation for more information.

The STK component definitions are configured in STK > Template Definitions /components/pur.

Node name

Value

 components

 

 pur

 

 stkPURRegistrationForm

 

 stkPURUpdateForm

 

 stkPURLoginForm

 

 stkPURPasswordForm

 

 stkPURPasswordChangeForm

 

 groupFields

 

 stkPUREdit

 

 stkPURAuthSubmit

 

 stkPURNotAuthSubmit

 

 stkPURIntranet

 

 stkPURLink

 

 

Registration form

  • User profile registration form.
  • Only available in the Public Users Management template.
  • Added as a component. Does not need to reside on its own page.
  • Field components that can be added to the form are limited to registration-specific components.
  • STK component definition: stkPURRegistrationForm.
  • Three registration-specific form fields:
    • formEdit
    • formPassword
    • stkPURNotAuthSubmit
  • System expects to find the following field names:
    • username
    • password
    • passwordConfirmation
    • fullName
    • email

Profile Update form

  • Allows logged in users to update their profile.
  • STK component definition: stkPURUpdateForm
  • Three registration-specific form fields:
    • formEdit
    • formPassword
    • stkPURAuthSubmit
  • System expects to find the following field names:
    • password
    • passwordConfirmation
    • fullName
    • email

Password Retrieval form

  • Allows users to retrieve their password.
  • STK component definition: stkPURPasswordForm.
  • Two registration-specific form fields:
    • formEdit
    • stkPURNotAuthSubmit
  • System expects to find username field.

Password Change form

  • Allows users to change their password.
  • STK component definition: stkPURPasswordChangeForm.
  • Two registration-specific form fields:
    • formPassword
    • stkPURNotAuthSubmit
  • System expects to find password field.

Login form

  • Creates a login form.
  • Provided as a "ready-to-use" form (no need to add form fields).
  • STK component definition: stkPURLoginForm

Form fields

  • When you add a Registration, Profile Update, Password Retrieval or Password Change form field components are added with a fieldset.
  • Component definition: groupFields.

Submit button for profile update and logout

  • Button renders only for logged in users.
  • Component definition: stkPURAuthSubmit

 

Submit button for registration, login and password retrieval forms

  • Button renders only for logged-out users.
  • Component definition: stkPURNotAuthSubmit

  • Displays in the header of all demo-project pages.
  • Provided in the metaNavigation area of the Home template.
  • STK Component definition: stkPURLink

  • Configurable to display any text, by default, the link displays the word Login'.

 

Intranet component

  • Text and Image component visible only to a logged-in users.
  • Component definition: stkPURIntranet

 

  • No labels