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

Children themes should fully inherit from their parents

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.7
    • Themes
    • MOODLE_27_STABLE

      When creating children themes, many things have to be re-defined, sometimes just to change the names to prevent a fatal error in PHP.

      Children theme should fully inherit:

      • The settings (only some settings are inherited)
      • The layout pages (the layout pages must be redefined)
      • The renderers, the children should not be force to create override the parent renderer with an empty class to inherit the parents methods.
      • The lib.php to re-use the parent css post processing etc...

      The goal is to be able to create a new theme which can simply implement a few CSS rules to alter the strict minimal. It then makes it a lot easier to maintain but just editing the parent theme.

            Unassigned Unassigned
            fred Frédéric Massart
            Votes:
            8 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

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