Branding Name and Logo Configuration Guide
This document explains how users can configure the branding name and logo for their Sunbird application using the sunbird_tenant_cdn_url .
Last updated
This document explains how users can configure the branding name and logo for their Sunbird application using the sunbird_tenant_cdn_url .
Last updated
The configuration allows customization of various branding assets such as logos, app logos, favicons, and posters.
The branding assets are served through a Content Delivery Network (CDN) and follow a specific URL structure. The assets must be stored under a tenant directory with predefined image names. If no custom branding is provided, default branding assets for Sunbird will be used.
The CDN URL must follow the structure: sunbird_tenant_cdn_url/tenant_id/image_name
Example:http://sunbirded/NCF/logo.png
Here:
sunbird_tenant_cdn_url: The base URL of the CDN (e.g., `http://sunbirded`).
tenant_id: The tenant identifier (e.g., `NCF`). Configured as sunbird_default_channel
image_name: The predefined name of the branding asset (e.g., `logo.png`).
To properly configure branding, the following image names must be used:
Asset
Image Name
Description
Logo
logo.png
The primary logo displayed on the application.
App Logo
appLogo.png
The logo specifically used for the mobile app
Favicon
favicon.ico
The small icon displayed in the browser tab or address bar
Poster
poster.png
A poster image for informational displays [Optional]
If no custom branding is provided, the application will fall back to the default Sunbird branding. The default branding assets include:
Logo: A generic Sunbird logo.
App Logo: Same as the default Sunbird logo for mobile application.
Favicon: A Sunbird-themed favicon.
Poster: A default poster image for Sunbird.
Prepare the Branding Assets:
Ensure that the images are in the correct formats:
logo.png and appLogo.png: PNG format.
favicon.ico: ICO format.
poster.png: PNG format.
Use the exact file names as specified above.
Upload Assets to the CDN:
Place the assets in the appropriate tenant directory under the CDN.
Update the Configuration:
Set the sunbird_tenant_cdn_url
to the base URL of the CDN in the environment configuration.
Example:
sunbird_tenant_cdn_url=http://sunbirded
sunbird_default_channel=NCF
Verify the Branding:
Access the application and ensure that the branding assets are correctly displayed.
If any asset is missing or not configured, the default branding will be used.
Missing or Incorrect Branding:
Verify the URL structure and ensure the assets are correctly named and placed in the tenant directory.
Check the sunbird_tenant_cdn_url
and sunbird_default_channel
configurations.
Fallback to Default Branding:
If the custom asset is not found, the application will use the default Sunbird branding.
Ensure that the asset exists in the CDN with the correct file name.