• A
    atkins.chrisw

    Re: Angular controllers

    Hi Jared. Is there a way I can break out the controllers I have added into the app.js file into seperate files? My app.js is getting huge. I have tried making seperate folders like you have done for the page-view. But I keep getting stuck on the require element. My hope is to just have a separate folder for a group of controllers that I can link to certain pages. This is probably basic things I have no idea what I am doing.

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • A
    atkins.chrisw

    So I have noticed that when I change the numeric deault template to something different. Say, using the #,###. format. It makes the displayted values have a comma, but now the charts in the angular framework all get multiplied by .001. Is there something I have done wrong?

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • A
    atkins.chrisw

    What happens if I delete the jsp directory?

    I have already tried clearing my browser cache. I typically use Chrome but I am seeing the same problem in Firefox and IE.

    Also, if I remove the overrides folder. Do I just cut it out and restart. Then restart the Mango instance? Then see if it works. Then re-paste the overrides folder?

    posted in User help read more
  • A
    atkins.chrisw

    Yes. From the Mango Front End.

    posted in User help read more
  • A
    atkins.chrisw

    Failed to load resource: the server responded with a status of 403 (Forbidden)
    jquery-1.11.2.min.js:4 POST http://demo.systemvitality.com:8080/rest/v1/users 403 (Forbidden)
    send @ jquery-1.11.2.min.js:4
    ajax @ jquery-1.11.2.min.js:4
    MangoAPI.ajax @ api.js:941
    MangoAPI.postUser @ api.js:101
    UsersView.saveUser @ UsersView.js:223
    dispatch @ jquery-1.11.2.min.js:3
    r.handle @ jquery-1.11.2.min.js:3

    Response Headers
    HTTP/1.1 403 Forbidden
    Date: Wed, 04 Jan 2017 19:38:59 GMT
    X-Content-Type-Options: nosniff
    X-XSS-Protection: 1; mode=block
    Cache-Control: no-cache, no-store, max-age=0, must-revalidate
    Pragma: no-cache
    Expires: 0
    X-Frame-Options: SAMEORIGIN
    Content-Length: 0
    Server: Jetty(9.2.12.v20150709)

    Request Headers
    POST /rest/v1/users HTTP/1.1
    Connection: keep-alive
    Content-Length: 231
    Accept: application/json, text/javascript, /; q=0.01

    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
    Content-Type: application/json

    Accept-Encoding: gzip, deflate
    Accept-Language: en-US,en;q=0.8
    Cookie: XSRF-TOKEN=a994ed2e-1731-4e00-bff6-10603736516f; MANGO8080=hrhzw8elv6oj15imw0139okrk
    Request Payload
    view source

    In the Cookies tab. under the Request Cookies
    MANGO and the XSRF-TOKEN both have a value

    in the response cookies it is blank

    posted in User help read more
  • A
    atkins.chrisw

    Hey Phil. Have you got some time to help me with this. Im getting more users and I can't add them to the system.

    posted in User help read more
  • A
    atkins.chrisw

    Yeah. I don't want to do that. I am just trying to make an environment where I can try new things without disturbing our customers.

    For some reason lately, when I log in. I get a Error 403 Forbidden

    HTTP ERROR 403

    Problem accessing /modules/dashboards/web/. Reason:

    Forbidden
    

    I am wondering if I referenced something wrong in my app.js.

    Also, I am still getting a user error. I can't add or edit my users now.

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • A
    atkins.chrisw

    I just cleared my cookies. And I am still getting the error.

    When I look at the console log it says this. no element found

    0_1481057513663_upload-1fc90f41-785b-4102-82d1-dd595bc9bf28

    Cookie: MANGO8080=hus65pj7gb4lpm7okd1pn4o; XSRF-TOKEN=b8e862ad-16fa-4858-ada4-e83e0daf1234
    Connection: keep-alive

    posted in User help read more
  • A
    atkins.chrisw

    So I have moved everything from the MyAdminApp to the mdAdminApp

    Can I make a second instance of the mdAdminApp so I can load it on a different URL.

    example.

    summaes.com = mdAdminApp instance 1

    summaes.com/beta = mdAdminApp instance2

    will this affect the user login functions.

    posted in Dashboard Designer & Custom AngularJS Pages read more