Moodle
  1. Moodle
  2. MDL-26345

Add static text description to custom user profile category

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor 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
    • Rank:
      15940

      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.

        Activity

        Jenny Gray created issue -
        Petr Škoda made changes -
        Field Original Value New Value
        Fix Version/s DEV backlog [ 10464 ]
        Fix Version/s 2.0.2 [ 10421 ]
        Martin Dougiamas made changes -
        Workflow MDL Workflow [ 67620 ] MDL Full Workflow [ 75844 ]
        Hide
        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 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
        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
        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
        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
        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
        Michael E added a comment -

        Awesome! Thank you

        Show
        Michael E added a comment - Awesome! Thank you

          People

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

            Dates

            • Created:
              Updated: