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

Add static text description to custom user profile category

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9.10, 2.0.1
    • Fix Version/s: DEV backlog
    • Component/s: General
    • Labels:
    • Database:
      Any
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      When a new custom profile category is created, the only data which the administrator can enter is the name of the category to be displayed as the form field group header. This extension will add an extra description field to the create category form, and associated database table column. The description field will be configured in the same way as the description for custom profile fields.

      Any text entered in the description field will be added as a static form element immediately after the category name is displayed.

      For discussion: should we add a "display it" check box, as discussed above for the custom profile field description display MDL-26343 for consistency? Since this is a new field, there's no backward compatibility issue, so I'd personally not bother.

      I have a number of requests for this (for our Sept 2011 release) and am more than happy to program myself and offer a patch. If whoever triages this thinks that's OK, please assign to me and I will add to the OU development schedule over the next few months.

        Gliffy Diagrams

          Activity

          Hide
          jenny-gray Jenny Gray added a comment -

          There is an issue with translation here, because the description text field would need to support the multi-lang filter, and therefore be quite big in the database so big multi-lang sites like moodle.org can support all its various languages.

          Show
          jenny-gray Jenny Gray added a comment - There is an issue with translation here, because the description text field would need to support the multi-lang filter, and therefore be quite big in the database so big multi-lang sites like moodle.org can support all its various languages.
          Hide
          icefresh Michael E added a comment -

          Is there any update on this? I would be highly interested to have it in Moodle 2.5.2. Thanks

          Show
          icefresh Michael E added a comment - Is there any update on this? I would be highly interested to have it in Moodle 2.5.2. Thanks
          Hide
          dvillemure Diane Villemure added a comment -

          There is a work-around if you are willing to hack core files: https://tracker.moodle.org/browse/MDL-26343

          Show
          dvillemure Diane Villemure added a comment - There is a work-around if you are willing to hack core files: https://tracker.moodle.org/browse/MDL-26343
          Hide
          icefresh Michael E added a comment -

          Awesome! Thank you

          Show
          icefresh Michael E added a comment - Awesome! Thank you

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: