Hi,
I am trying to change login home page logo but its not change ,can anyone help me how to change the logo? Please find the screen shot also.
OpenMRS Version: 1.11.6 Build 0d2192 Custom Branding: 0.2
Hi,
I am trying to change login home page logo but its not change ,can anyone help me how to change the logo? Please find the screen shot also.
OpenMRS Version: 1.11.6 Build 0d2192 Custom Branding: 0.2
@nirajkrsinghit, before asking, check https://wiki.openmrs.org/display/docs/ and see if it’s answered there.
There’s also a book: http://www.flossmanuals.net/openmrs-developers-guide/
Thnk , I am trying this but, Can you provide this simple solution.
That is easy. It is a step by step of how to do it…
@r0bby , I am not developer person than I have no change any code and fragment. Please advice the essay way to change the logo .
I’m not one of who works on the EMR – so don’t know.
Okay, I am waiting anyone response same.
You need to do the following:
Using the Manage Apps function, add a new App Definition like:
{
"id": "overrideSettings",
"extensions": [
{
"id": "override.configureStandardHeader",
"extensionPointId": "org.openmrs.module.appui.header.config",
"type": "config",
"extensionParams": {
"logo-icon-url": "/url/path/to/the/image.png"
}
}
]
}
A prior version of this used to be documented on this page https://wiki.openmrs.org/pages/viewpage.action?pageId=93359429 but apparently it was overwritten.
@nirajkrsinghit, once you have gotten this working, could you collaborate with @ssmusoke to document this on this wiki page?
@darius , Can you share the modify code for also hide the login page logo.
@darius ,You have update app definitions for hide the login page logo ,please provide the definition.
Niraj, I believe that overriding the login page requires “overriding a page” that Stephen shared a link to earlier.
-Darius (by phone)
There is an example here that assumes you have created an OpenMRS module that includes the image in it. Are you doing this?
Thanks so much @darius
@ssmusoke, @darius @dkayiwa I get this error Unable to start OpenMRS. Error thrown was: org.openmrs.api.APIException: Service not found: interface org.openmrs.scheduler.SchedulerService when I tried to override the login page. I have seen https://wiki.openmrs.org/display/projects/Reference+Application+Implementation+Dev+FAQs#ReferenceApplicationImplementationDevFAQs-Howtochangethelogointheheader? page and read https://wiki.openmrs.org/display/docs/Overriding+Requests+to+Pages+and+Fragments#OverridingRequeststoPagesandFragments-OverridingAFragment page too. I also forked and cloned org-openmrs-mapperoverridedemo and replicated how it was coded. Please what am I doing wrong or what am I not doing?
@cpnwaugha, you will need to share the whole startup log (using a service like pastebin.com, since it will be long)
Thanks @darius for your timely response. This is the pastebin link for the log: Re-branding openmrs with custom login page - Pastebin.com
@cpnwaugha is this all the contents of the log file? If yes, what is the name of this log file?