• Recent
    • Tags
    • Popular
    • Register
    • Login

    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 Mango 5 Documentation Website

    Custom Dashboards in overrides problem

    Dashboard Designer & Custom AngularJS Pages
    2
    3
    1.7k
    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.
    • B
      Balistar
      last edited by Balistar

      I followed instructions:
      "Copy the entire ${MA_HOME}/web/modules/dashboards/web/adminTemplate folder into the ${MA_HOME}/overrides/web/modules/dashboards/web directory, give it a new name"

      Now called admin - .../mango/overrides/web/modules/dashboards/web/admin

      Instructions say: "You will need to change the require line at the bottom of index.html to suit the name of the folder you create in overrides."

      I did that. Now that line in index.html says:

      <script>require(['dashboards/admin/app']);</script>

      Problems start the moment start when I try to open:
      http://192.168.1.2:8080/user-dashboards/admin/home
      Opens fine, but immediately switches to :
      http://192.168.1.2:8080/user-dashboards/adminTemplate/home

      When I change some "print-text" in app.js in the new overrides directory, those changes do show. But when I change any of the pages in the new overrides views directory e.g. home.html those changes don't show. Instead they show the old pages ${MA_HOME}/web/modules/dashboards/web/adminTemplate/views directory.

      Any advice?

      New install from 2.8.4

      1 Reply Last reply Reply Quote 0
      • Jared WiltshireJ
        Jared Wiltshire
        last edited by

        @Balistar
        There is also a line near the top of index.html that needs adminTemplate renamed, <base href="/user-dashboards/adminTemplate/">
        Sorry for the inconvenience, somehow that didn't make its way into the new documentation page.

        Developer at Radix IoT

        1 Reply Last reply Reply Quote 0
        • B
          Balistar
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • First post
            Last post