Uploaded image for project: 'Reference Application'
  1. Reference Application
  2. RA-461

Allow modules to override the site logo even if the reference application is running

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Accepted
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 2.1
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      This wiki page describes how to change the site logo: https://wiki.openmrs.org/x/fAEzAw

      However this may not work if there are multiple modules that try to configure this (and the reference application does).

      We need to allow a module to override the icon and url even if the referenceapplication module is doing so already.

      Dev Notes

      Probably the quick fix is to change the code around this line, so that instead of getting the first extension, we get the one with the lowest order property.

      https://github.com/openmrs/openmrs-module-appui/blob/724b4a9c8c434bb723b040a2ede8566612db481f/omod/src/main/java/org/openmrs/module/appui/fragment/controller/HeaderFragmentController.java#L39

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dkayiwa Daniel Kayiwa
                Reporter:
                darius Darius Jazayeri
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: