Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-20204 Themes 2.0: YUI, Caching, Performance, Consistency
  3. MDL-21984

remove the need to specify the themename from layout description

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Themes
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      at present you have to do:
      'base' => array(
      'theme' => 'newtheme',
      'file' => 'general.php',
      'regions' => array(),
      ),

      we actually know in which theme we are, so we may add the 'theme' on the fly using current theme name when loading the theme config

      Benefit: it will be easier to duplicate/modify themes

      Attachments

        Activity

          People

            samhemelryk Sam Hemelryk
            skodak Petr Skoda
            Nobody Nobody
            Huong Nguyen, Bas Brands, Mathew May
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10