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

Odd renderer behavior when choosing a new theme

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9.6
    • 3.0.5, 3.1.1
    • Themes

    Description

      When using the theme selector to choose a new theme on the site, we have observed some odd behavior where the new theme will display, but uses the prior theme's renderers. Not entirely sure how this happens or it might be specific to our themes. I suspect that something gets setup in the admin_externalpage_setup('themeselector'); call that doesn't get updated when a new moodle page is created. Either way, I think the provided patch is a good improvement, removes some odd looking code and the new theme is selected throughout the request.

      Attachments

        Activity

          People

            bushido Mark Nielsen
            bushido Mark Nielsen
            Adrian Greeve Adrian Greeve
            Andrew Lyons Andrew Lyons
            Frédéric Massart Frédéric Massart
            Huong Nguyen, Bas Brands, Mathew May, Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jul/16