mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #68757
[Bug 2016982] [NEW] Custom header logo not shown while using the "Configurable Theme"
Public bug reported:
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!
** Affects: mahara
Importance: Undecided
Status: New
** Description changed:
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:
+ 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
+ Please feel free to contact me should you have any further questions!
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/2016982
Title:
Custom header logo not shown while using the "Configurable Theme"
Status in Mahara:
New
Bug 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 to contact me should you have any further questions!
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/2016982/+subscriptions
Follow ups