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

Category Themes do not appear when editing off

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9, 2.0
    • Component/s: Course, Themes
    • Labels:
      None
    • Environment:
      Mac OSX 10.4.11
      PHP 5.2.4
      MySQL 5.0.45

      Description

      Category themes (when enabled) are not applied when editing is turned off. With editing enabled, the theme appears correctly.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            paradox Darryl Pogue added a comment -

            Diff file attached which appears to fix the issue.

            Nowhere in the file did it actually use the theme name stored in the database and attempt to set that as the displayed theme. The patch applies the theme just before printing the header.

            Show
            paradox Darryl Pogue added a comment - Diff file attached which appears to fix the issue. Nowhere in the file did it actually use the theme name stored in the database and attempt to set that as the displayed theme. The patch applies the theme just before printing the header.
            Hide
            poltawski Dan Poltawski added a comment -

            Hi, thanks for the report, this should now be fixed in CVS.

            I took a slightly difference approach to the patch to ensure we only do this when switched on.

            Show
            poltawski Dan Poltawski added a comment - Hi, thanks for the report, this should now be fixed in CVS. I took a slightly difference approach to the patch to ensure we only do this when switched on.
            Hide
            inceebee Nate Baxley added a comment -

            This is still happening for us on Moodle 1.9.2

            Show
            inceebee Nate Baxley added a comment - This is still happening for us on Moodle 1.9.2
            Hide
            timhunt Tim Hunt added a comment -

            Well I have just tested in my Moodle 1.9.2 install, and category themes work with editing both on and off. If you can reproduce this problem, please give exact steps to perform to reproduce the problem.

            Show
            timhunt Tim Hunt added a comment - Well I have just tested in my Moodle 1.9.2 install, and category themes work with editing both on and off. If you can reproduce this problem, please give exact steps to perform to reproduce the problem.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Mar/08