• Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

    Overriding system logo for specific users

    User help
    3
    5
    24
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cbyrne
      cbyrne last edited by

      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.
      19820512-236e-449f-aaea-59d88d3eefc8-image.png

      Currently dealing with a Mango v3 instance but I can see the issue arising for v4 also.

      Thanks!

      Software Developer for GLAS Energy Technology Ireland

      1 Reply Last reply Reply Quote 0
      • CraigWeb
        CraigWeb last edited by

        @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.

        cbyrne 1 Reply Last reply Reply Quote 0
        • cbyrne
          cbyrne @CraigWeb last edited by

          @CraigWeb Thanks Craig, that's what I'm currently doing.

          Software Developer for GLAS Energy Technology Ireland

          CraigWeb MattFox 2 Replies Last reply Reply Quote 0
          • CraigWeb
            CraigWeb @cbyrne last edited by

            @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

            1 Reply Last reply Reply Quote 0
            • MattFox
              MattFox @cbyrne last edited by

              @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

              Do not follow where the path may lead; go instead where there is no path.
              And leave a trail - Muriel Strode

              1 Reply Last reply Reply Quote 0
              • First post
                Last post