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

Overriding parent's theme values

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.4
    • Themes
    • None
    • MOODLE_34_STABLE

      I noticed when creating a child theme of the boost theme that values set in the parent's theme (i.e. boost) were not overriden by the child theme.

      From what I can see, the reason for that is in the find_theme_config (outputlib.php): the child theme config is included BEFORE the parent's theme config.

      It seems to be counterintuitive, am I wrong ? 

      Is there any reason for that except that the child's config file must me loaded first to get information about any parent's theme (i.e. $THEME->parents) ? 

       

            Unassigned Unassigned
            lmdavid Laurent DAVID
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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