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

Adding a link to Valence Portal Login Page

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

  • Adding a link to Valence Portal Login Page

    Hi, what would the best method be to add a link to the portal login page ? Something similar to the Forget Password but just to a standard URL.

  • #2
    Best way to achieve this would be to modify the Hook.js program (located in the resources/desktop folder of the IFS). Add your desired URL in the "componentrender" event for the "login-outer" itemId, something like this:

    Code:
    componentrender: function (cmp) {
        if (cmp.itemId === 'login-outer'){
          cmp.add({
              xtype : 'component',
              html  : '<a href="http://www.cnxcorp.com" target="_blank">Go To CNX</a>'
          });
      }
    },
    Last edited by robert.swanson; 08-16-2018, 05:17 PM.

    Comment

    Working...
    X