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

Theme layout elements renderer from theme_easy

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 2.8
    • Themes
    • None
    • MOODLE_28_STABLE

      Theme layout files often contain multiple redundant sections, e.g. a header section that's identical across 1, 2, and 3-column layout files. fred wrote a simple include()-esque renderer for theme_easy (see: https://github.com/FMCorz/moodle-theme_easy/blob/master/renderers.php ) that allows themes to easily break things up into their component parts, easing development.

      It'd be nice to see this be something we could count upon in core.

            lucaboesch Luca Bösch
            jethac Jetha Chan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.