HEADER_LOGO_IMAGE by Organizacion

Description

Adding functionality to adjust Header Image-logo by organization:
ThemeManager->getSmallLogo()

if not exist configuration variable "ZK_LOGO_SMALL" or is null, and
If exist configuration variable "LVE_ACTIVATE_THEME_BY_ORGANIZATION" and its value is "Y", the Theme Manager looks logo name in AD_Image that declare in AD_OrgInfo for then concatenate relative location url of organization logo, so header-logo.png is replaced

Environment

None

Attachments

1
  • 30 Jul 2013, 02:22 PM

Activity

Show:

Carlos Ruiz February 26, 2015 at 5:08 PM

Thanks , the only issue with this approach is when the user log in with org *

Also if a user report information for a different organization - but the logo is the org login.

Anyways, I think the code is very interesting - and it's an excellent example here to include in theme.

I'll label this ticket as "Snippet" - and any code that can serve as snippet for others will have this label.

Incomplete

Details

Assignee

Reporter

Labels

Original estimate

Time tracking

No time logged2m remaining

Components

Affects versions

Priority

Created July 30, 2013 at 2:22 PM
Updated May 4, 2015 at 5:43 PM
Resolved February 26, 2015 at 5:08 PM