Chapter 6. Logic Flows

This section describes the logic flows for the plugin events.

Event onContentPrepareForm

  1. Check if this is a form, if not return

  2. Check if this is the com_users, profile edit form. If not return.

  3. Check whether administration back end or debugging and if so return.

  4. If guest user return

  5. Get session variable ‘password_force’

  6. If variable enabled set form field variables for passwords to mandatory.

  7. Else set field variables to optional.

  8. If the options to modify the displayed form fields such as username, name and email are requested, change settings for these fields in the form.

  9. If the variable to force an email change is set then empty out any existing email field values and ensure that the email field is displayed.

  10. If the optional informative field is requested create the form field and add it to the form.

  11. If the password generator is enabled then modify the edit profile form so that it contains an additional button which when clicked will cause the popup dialog window to appear.

Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries