Activity log for bug #2016982

Date Who What changed Old value New value Message
2023-04-19 09:59:57 Moritz Haisch bug added bug
2023-04-19 10:00:36 Moritz Haisch description When the "Configurable Theme" has been activated for an institution of an installation, the custom header logo of that institution is replaced by the standard Mahara logo. Tested on Mahara version 22.10.0 on Linux, PHP version 7.4, DB Postgres. Mahara installation with multiple institutions. ------ Precondition: Activate the "Configurable Theme" for an institution and save the changes. Steps to reproduce: 1. Head to the institution's settings. 2. Upload a custom logo and save the changes. 3. Open any page of the application while being logged in to the institution which you have just set the custom logo up for. Expected result: You will see your chosen custom header logo AND the theme colors of the "Configurable Theme" you have set up. Actual result: You will see the Mahara site in your chosen "Configurable Theme" colors. When reloading any page you will shortly see your chosen custom logo flash up in the header bar and then be quickly replaced by the standard Mahara logo. ------ Possible fix: By experimenting around in the theme files for the custom theme I was able to find a temporary fix by commenting out two functions in the /htdocs/theme/custom/js/theme.js file (around line 300) responsible for adapting the Mahara logo to the custom theme header bar colors: //displayCorrectSmallLogo(); //displayCorrectLogo(); I suspect these functions are at fault for replacing the chosen custom logo with the standard Mahara logo once the page has loaded. Sadly, I will not be able to apply this same fix to our production system since we abstain from any theme changes. Therefore, it would be great to get in a fix for this issue with one of the upcoming releases! :) Please feel free When the "Configurable Theme" has been activated for an institution of an installation, the custom header logo of that institution is replaced by the standard Mahara logo. Tested on Mahara version 22.10.0 on Linux, PHP version 7.4, DB Postgres. Mahara installation with multiple institutions. ------ Precondition: Activate the "Configurable Theme" for an institution and save the changes. Steps to reproduce: 1. Head to the institution's settings. 2. Upload a custom logo and save the changes. 3. Open any page of the application while being logged in to the institution which you have just set the custom logo up for. Expected result: You will see your chosen custom header logo AND the theme colors of the "Configurable Theme" you have set up. Actual result: You will see the Mahara site in your chosen "Configurable Theme" colors. When reloading any page you will shortly see your chosen custom logo flash up in the header bar and then be quickly replaced by the standard Mahara logo. ------ Possible fix: By experimenting around in the theme files for the custom theme I was able to find a temporary fix by commenting out two functions in the /htdocs/theme/custom/js/theme.js file (around line 300) responsible for adapting the Mahara logo to the custom theme header bar colors: //displayCorrectSmallLogo(); //displayCorrectLogo(); I suspect these functions are at fault for replacing the chosen custom logo with the standard Mahara logo once the page has loaded. Sadly, I will not be able to apply this same fix to our production system since we abstain from any theme changes. Therefore, it would be great to get in a fix for this issue with one of the upcoming releases! :) Please feel free to contact me should you have any further questions!
2023-04-26 02:42:10 Kristina Hoeppner mahara: status New Confirmed
2023-04-26 02:42:14 Kristina Hoeppner mahara: importance Undecided Medium
2023-08-28 22:49:27 Robert Lyon mahara: status Confirmed In Progress