Overriding system logo for specific users
-
We're trying to provide a white label service for a client, so we would like to be able to replace our logo with the clients site-wide, but only for that client's users.
The logo in question is what's set by logo source in the UI settings.
i.e.
Currently dealing with a Mango v3 instance but I can see the issue arising for v4 also.
Thanks!
-
@cbyrne this is not a supported feature in mango. You could however do some logic in your dashboards to look at the current user and decide what image to display within the dashboard but not in the navigation bar.
-
@CraigWeb Thanks Craig, that's what I'm currently doing.
-
@cbyrne
You can add this code to any html element in the dashboard. ng-init="currentUser=User.current"
eg:<div class="ma-designer-root" id="eb2ee05b-9949-46ee-9fda-f2f836d24541" style="width: 1366px; height: 768px; position: relative; " ng-init="currentUser=User.current">
you will then have a variable in your dashboard called currentUser which you can use to do your logic on
-
@cbyrne I'd build an overridden mangoUI with development mode enabled, then you can do whatever you want, could likely also do a hack with the userModule, but the overriding would be giving you more freedom
Fox