XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4
    • 2.4
    • Course
    • MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • wip-MDL-36048-master
    • Hide
      1. Install course format 'testheaders' from attachment. It is basically the copy of topics format but with displaying test course headers/footers
      2. Create one course in 'topics' (or any other existing) format and one in 'testheaders' format
      3. Open 4 tabs - the course view page, and any page with 'report' layout inside the course, for each of those courses
      4. In 5th tab keep changing the theme for the site and refresh the previous 4 tabs, make sure that page layout looks ok, html is not broken for existing format and headers and footers appear in place in testheaders format.(Please note that this issue did not fix all the core themes, see comment below.)
      5. Enable one of the non-modified themes and make sure that testheaders format displays a developer warning on course view page
      Show
      Install course format 'testheaders' from attachment. It is basically the copy of topics format but with displaying test course headers/footers Create one course in 'topics' (or any other existing) format and one in 'testheaders' format Open 4 tabs - the course view page, and any page with 'report' layout inside the course, for each of those courses In 5th tab keep changing the theme for the site and refresh the previous 4 tabs, make sure that page layout looks ok, html is not broken for existing format and headers and footers appear in place in testheaders format.(Please note that this issue did not fix all the core themes, see comment below.) Enable one of the non-modified themes and make sure that testheaders format displays a developer warning on course view page

      New functions in core_renderer

      • course_content_header()
      • course_content_footer()
      • course_header()
      • course_footer()

      New methods in class format_base:

      • course_header() : returns the renderable object to display as course-specific header on any course page (above navbar)
      • course_footer() : course-specific footer
      • course_content_header() : returns the renderable object to display as course-specific content header in main content section (i.e. prev-next module navigation)
      • course_content_footer() - course-specific footer to be displayed in main content section

      Plus alter all core themes to display this information.
      Plus display warning message if course format has content header/footer but theme does not support it

      COURSE FORMAT DEVELOPERS: See usage example in attached course format testheaders

            marina Marina Glancy
            marina Marina Glancy
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

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