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

Provide filters with more context for generating hashes.

    Details

    • Affected Branches:
      MOODLE_22_STABLE

      Description

      I wanted to add support for using the groups and groupings of which a user is a member in styling Moodle output. For example, I have a Subject Outline page which describes (among other things) the word limit on an essay. For students in the 300-level grouping, I wanted to be able to use CSS to show a span describing the 300-level word limit and hide a span describing the 500-level word limit. I've implemented this myself, but need to create a small patch to core so that the text to be filtered and options are passed to filters' hash functions. The hash function is unused in core, so the API change should only affect other 3rd party modules.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: