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

Formal White theme's standard theme layout is wrong in config.php

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.7, 2.2.4
    • 2.3
    • Themes

      In Formal White theme, under $THEME->LAYOUTS in config.php, the Standard theme layout is wrongly name 'general' whereas it should read 'standard'.

      You can check this against Base theme which reads:

      $THEME->layouts = array(
          // Standard layout with blocks, this is recommended for most pages with general information
          'standard' => array(
              'file' => 'general.php',
              'regions' => array('side-pre', 'side-post'),
              'defaultregion' => 'side-post',
          ),

      Whereas in Formal White it reads:

      $THEME->layouts = array(
          'general' => array(
              'file' => 'general.php',
              'regions' => array('side-pre', 'side-post'),
              'defaultregion' => 'side-post',
          ),

      Which is wrong. This can cause the header diplay to be lost in some pages.

            daniss Daniele Cordella
            lazydaisy Mary Evans
            Mary Evans Mary Evans
            Sam Hemelryk Sam Hemelryk
            Sam Hemelryk Sam Hemelryk
            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.