• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

changing the error message image

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • changing the error message image

    when we get an error message from valence (i.e. user not authorized to app), it shows the Valence logo, is there a way to change that?

  • #2
    Hi David,

    Can you supply an image of what you’re talking about? Thanks

    Comment


    • #3
      attached screenshot2.docx

      Comment


      • #4
        By default it uses "/resources/images/valence_logo.png" however you can change the logo for the portal via the Hook.js "/resources/desktop/Hook.js"

        Code:
                /**
                 * @cfg {Object} portalLogoUrl
                 * Change the image used for the Portal control bar.  Same rules apply as loginLogoUrl above.
                 *
                 * Same image used for all themes:
                 *
                 * ##Example
                 *      portalLogoUrl : {
                 *          "default" : "path_to_my_company_image.png",
                 *          "dracula" : null
                 *      }
                 *
                 * Different image for each theme:
                 *
                 * ##Example
                 *      portalLogoUrl : {
                 *          "default" : "path_to_my_company_image.png",
                 *          "dracula" : "path_to_another_image.png"
                 *      }
                 */
                portalLogoUrl : {
                    "default" : null,
                    "dracula" : null
                },

        Comment


        • #5
          I've changed all the logo urls in hook.js and it still shows Valence logo on error message... see attached
          logo for error.png

          Comment


          • #6
            Hi David,

            Please clear your cache and see if that changes it

            Thanks

            Comment


            • #7
              Still shows Valence logo debug code.pnghookjs.png

              Comment


              • #8
                David,

                Thanks, unfortunately I tested by changing the image directly "/resources/images/valence_logo.png" and didn't try changing it via the Hook.js and assumed

                You're correct and we will have this fixed in the next update. If you need it changed right now you can change change the "/resources/images/valence_logo.png" for the time being

                Comment


                • #9
                  no problem, thanks!

                  Comment

                  Working...
                  X