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

Call a function in the course format lib.php from course/view.php before $OUTPUT->header();

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Inactive
    • Icon: Minor Minor
    • None
    • 2.1.1
    • Course, Themes
    • MOODLE_21_STABLE
    • Hide

      the readme in the attached format includes a workaround in the installation section.

      Show
      the readme in the attached format includes a workaround in the installation section.

      Course formats are currently loaded after $OUTPUT->header();. This limits the options in course format design. The course format cannot define a block region (the block manager has already finished by the time the course format is loaded). The course format cannot define block region strings.

      If course/view.php called a function in course/format/formatname/lib.php before $OUTPUT->header(); course formats will become much more versatile.

            Unassigned Unassigned
            ca2si ca2si Etan
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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