Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39824 Simplification of themes
  3. MDL-39838

Add a renderer method to render a list of classes for the body

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • FRONTEND
    • 2.5
    • Themes
    • MOODLE_25_STABLE

      Single call to render body classes including one class for each visible block region.

      Sample Layout code:

      <body ... class="<?php echo $OUTPUT->body_classes(); ?>">
      

      (The body id attribute is not shown here because there will be a separate issue about that)

        1. mdl-39838_odd.png
          151 kB
          Gareth J Barnard

            Unassigned Unassigned
            damyon Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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