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

Work on converting the course format renderer to templates

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8
    • Fix Version/s: None
    • Component/s: Course, Themes
    • Labels:

      Description

      Currently Moodle's course formats are run heavily though the renderer in course/format

      This can be better handled as it primarily echos out html_writer items, we can add new functions to better build our renderable objects and parse them with templates.

      Doing this would have at least a couple of big benefits:

      1. Help ease developers pains in tracing diverging code paths
      2. Allow course format creators and themes customise the look and feel of a course format without creating a new course format for the same functionality but different styles

       

        Attachments

          Activity

            People

            • Assignee:
              mathewmay Mathew May
              Reporter:
              mathewmay Mathew May
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: