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

[ANSWERED] Help changing Portal tab title in hook.js

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

  • [ANSWERED] Help changing Portal tab title in hook.js

    I can't find the magic combination of words to set the Portal option 'Title on browser tab' in this area of hook.js:
    Code:
                settingsapplied : function(){
                    Ext.apply(Portal.config.Settings,{
    I couldn't find any help in the link here either: http://service.cnxcorp.com/vvdocs-3....pi/Portal.Hook

    I did read this in the source but not sure how to go about doing that:
    Thanks,

    -Dean
    Last edited by Dean; 04-30-2014, 02:04 PM.

  • #2
    Dean,

    You can change browser title in Valence Portal - Settings.

    Screen Shot 2014-04-30 at 1.11.26 PM.jpg

    Comment


    • #3
      I'm looking to change it via the hook.js. I'm trying to use a variable to hold the value as I need it displayed differently depending on the URL.

      Comment


      • #4
        If I clear the setting in the Portal Options I can then get it working by setting document.title in the hook.js.
        I just figured it would fall under the Portal.config.Settings area in hook.js since the description of that file is to set the Portal Options there so they save across upgrades.

        -Dean

        Comment

        Working...
        X