Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-74713

Custom profile field names unformatted in user identity configuration

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MDL-74713-311
    • MDL-74713-400
    • Hide
      1. Log in as admin
      2. Navigate to Plugins > Filters > Manage filters in site administration
      3. Set Multi-Language Content to On and Apply to Content and headings
      4. Navigate to Users > Accounts > User profile fields in site administration
      5. Create new Text input field
        • Short name: myfield
        • Name:

          <span class="multilang" lang="en">My field (EN)</span><span class="multilang" lang="de">My field (DE)</span>
          

        • Character limit: 100 (this will make sure the field appear in  Users > Permissions > User policies)
      6. Navigate to Users > Permissions > User policies in site administration
      7. Confirm new field is displayed as My field (EN) * under Show user identity
      8. Navigate to Badges > Add a new badge in site administration
      9. Fill out form
      10. After creating badge, choose Profile completion from Add badge criteria
      11. Expand Other fields
      12. Confirm custom field is displayed as My field (EN)
      Show
      Log in as admin Navigate to Plugins > Filters > Manage filters in site administration Set Multi-Language Content to On and Apply to Content and headings Navigate to Users > Accounts > User profile fields in site administration Create new Text input field Short name: myfield Name: <span class="multilang" lang="en">My field (EN)</span><span class="multilang" lang="de">My field (DE)</span> Character limit: 100 (this will make sure the field appear in  Users > Permissions > User policies) Navigate to Users > Permissions > User policies in site administration Confirm new field is displayed as My field (EN) * under Show user identity Navigate to Badges > Add a new badge in site administration Fill out form After creating badge, choose Profile completion from Add badge criteria Expand Other fields Confirm custom field is displayed as My field (EN)

    Description

      When creating a custom user profile field containing filter text (e.g. multilang), the content is not formatted on the admin User policies page Show user identity configuration:

      Attachments

        1. MDL-74713_master_1.png
          MDL-74713_master_1.png
          126 kB
        2. MDL-74713_master_2.png
          MDL-74713_master_2.png
          68 kB
        3. MDL-74713_v311_1.png
          MDL-74713_v311_1.png
          139 kB
        4. MDL-74713_v311_2.png
          MDL-74713_v311_2.png
          70 kB
        5. MDL-74713_v400_1.png
          MDL-74713_v400_1.png
          134 kB
        6. MDL-74713_v400_2.png
          MDL-74713_v400_2.png
          69 kB

        Issue Links

          Activity

            People

              pholden Paul Holden
              pholden Paul Holden
              Laurent David Laurent David
              Amaia Anabitarte Amaia Anabitarte
              Angelia Dela Cruz Angelia Dela Cruz
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Jul/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 15 minutes
                  5h 15m