Skip to content

4. Branding

Eric Berman edited this page Jul 4, 2023 · 1 revision

Branding

MyFlightbook supports basic branding as a way to provide a differentiated skin for partners. Branding.cs has the implementation of this; adding a new brand does (today) require a coding change to add the new brand, by simply adding a new value to the "knownBrands" static variable in the Branding class.

The attributes that can be branded are:

  • AppName - The name of the app. E.g., MyFlightbook
  • HostName - The host name (domain name) for this brand. E.g., myflightbook.com. Note: a leading "www" is ignored.
  • Root - The base for all relative URLs; should always be "/logbook".
  • LogoURL - A relative URL to the image that should be used as a logo.
  • StyleSheet - the name (relative path) of a stylesheet to apply after other stylesheets have been applied.
  • EmailAddress - The address from which outgoing emails should be sent.
  • FacebookFeed - Absolute link to the Facebook feed for this brand (Facebook link is hidden if this is not provided)
  • TwitterFeed - Absolute link to the Twitter feed for this brand (Twitter link is hidden if this is not provided)
  • BlogAddress - Absolute link to the blog address for this brand (Blog link is hidden if this is not provided)
  • VideoRef - Absolute link to the location of any videos for this brand (Videos link is hidden if this is not provided)

Clone this wiki locally