Hi Moritz,

Thank you for your great bug report. I can see the same thing happening.
I do see the custom logo flash by briefly, but it is then replaced by
the standard logo. I suspect that there may need to be an if/else so
that the custom logo (and custom mobile logo) is used when there is one
and in all other cases the standard logo.

Please see https://mahara.org/interaction/forum/topic.php?id=9290 in
regards to minor point updates and the 23.04 release.

Thank you
Kristina

** Changed in: mahara
       Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Medium

-- 
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:
  Confirmed

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


_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to