BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

Configure White Labeling

About the feature

White labelling of Bahmni will provide the various implementations, the ability to brand Bahmni as applicable to them. The implementors will now be able to configure the Logo and Text, specific to their implementations, on the landing page and the Bahmni login pages.

Configuring the logo and Text:

The whiteLabel.json file is present in the path default-config/openmrs/apps/home

The config is as below:

whiteLabel.json
{
  "homePage": {
    "header_text": "<b>WELCOME TO<br/>BAHMNI EMR & HOSPITAL SERVICE",
    "logo": "/bahmni/images/bahmniLogoFull.png",
    "title_text": " ",
    "bottomBanner": "<URL of custom banner image. Like: /bahmni/images/customBottomBanner.png>"
  },
  "loginPage": {
    "logo": "/bahmni/images/bahmniLogoFull.png",
    "showHeaderText": true,
    "showTitleText": false,
    "bottomLogos": [
      "<Path to logo files. Like:",
      "/bahmni_config/openmrs/apps/home/first_logo_75px.png",
      "/bahmni_config/openmrs/apps/home/second_logo_75px.png"
    ]
  },
  "helpLink": {
    "url": "https://bahmni.atlassian.net/wiki/display/BAH/Bahmni+Home"
  }
}

Config for "homePage"

KeyPurposeMandatoryBehaviour
header_textHeader text on the landing/home PageNoDefault Text : WELCOME TO BAHMNI EMR & HOSPITAL SERVICEIf header text key is removed, Default text will show.
logoLogo on the landing /home page.NoDefault: Path of bahmni logoIf logo path is wrong, it will show a broken image on the landing page.If key is removed, then default bahmni logo will be displayed
title_textTitle text beside the logo on the landing/home page.NoDefault: Blank textIf Key is removed, "title text" placeholder will be displayed
bottomBannerDisplay custom banner image depends on implementationNoDefault: Nothing will display.

Config for "loginPage"

KeyDescriptionMandatoryBehaviour
showHeaderTextHeader text on the login Page.Specify the key value in the respective locale file.NoDefault : TrueIf the key is not present or removed from the config file, it'll show no text on the page.
showTitleTextTitle text beside the logo on the login page. Specify the key value in the respective locale file.NoDefault: FalseIf the key is not present or removed from the config file, it'll show no text on the page.
logoLogo on the login page.NoDefault : Bahmni logo If the key is not present or removed from the config file, it'll show no image on the page.
bottomLogosDisplay custom logos as a banner a the very bottom of the page. Files must be available at a path on the server.NoDefault: Nothing will be displayed
원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗