Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6817

Course shortname should pass through format_string (and maybe other stuff, too)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.3
    • Component/s: Module: Scheduler
    • Labels:
      None
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE

      Description

      Dear Henning,

      Since you are in the process of updating your great plugin, let me give you another improvement wish. We're working on a multilingual Moodle installation and therefore work with multilang filters a lot. We see something not affected by filters in scheduler. In datelist.php for example, course shortname (and location, too, probably). It shouldn't be a great deal of calling format_string and having the filter applied.

      format_string(HEREISTHESHORTNAMEFROMDB, true, array('context' => $context))
      

      I attach a screenshot for you. What you see is the multilang2 filter syntax.

      It would mean a lot to us if you could implement this. If you prefer, I could also prepare a Pull Request for you.

       

        Attachments

          Activity

            People

            Assignee:
            bostelm Henning Bostelmann
            Reporter:
            lucaboesch Luca Bösch
            Participants:
            Component watchers:
            Valery Fremaux
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/May/17