ESS Customize - annual enrollment headers

 7 Replies
 1 Subscribed to this topic
 68 Subscribed to this forum
Sort:
Author
Messages
giesewendy
Advanced Member
Posts: 33
Advanced Member

    We want to modify text on each benefit plan annual enrollment header.  Using the technical text, we still cannot find the proper file to modify and reference back to the benmsgs file.

     

    For example on Medical Only, we want to edit this section:

     

     

    Karen Sheridan
    Veteran Member
    Posts: 141
    Veteran Member
      The page that displays depends on which plan is being displayed. I believe that is disp_ben_01.htm. It's kind of tricky, but when you are on a page, right click and get view source. A lot of times it says "header pane", but if you click around the top and/or bottom, eventually you'll get the actual page that is being displayed.

      benmsgs.xml is in $WEBDIR/Lawson/xhrnet/xml/lang/enus.

      We modified so much of the verbiage and added all kinds of text. So, we created our own custom XML file. Let me know if you need any other information.

      Karen
      giesewendy
      Advanced Member
      Posts: 33
      Advanced Member
        It is in disp_ben_01. I am just not understanding exactly where to insert the reference the phrase on benmsgs in html in the code. Most of disp_ben_01 is the table. I also can see the footer; where do find the section on the header.
        Karen Sheridan
        Veteran Member
        Posts: 141
        Veteran Member
          Verbiage for the plans, the order of the plans, etc. comes from the set-up screens - BS02/BS03/etc.
          giesewendy
          Advanced Member
          Posts: 33
          Advanced Member
            Yes, we have that the way we like it.

            is there anyway you could email me using my profile contact information, so that I have the possibility to talk to you? I could really use the help.

            Thanks,
            Wendy
            Karen Sheridan
            Veteran Member
            Posts: 141
            Veteran Member
              I believe this is the line:
              document.getElementById("paneHeader").innerHTML = ''+getSeaPhrase("ENROLLMENT_ELECTIONS","BEN")+' - '+parent.parent.CurrentBens[parent.parent.planname][32]+'';

              Karen Sheridan
              Veteran Member
              Posts: 141
              Veteran Member
                So, if you want to display something based on the plan name, you would need to add some code like this:
                if (parent.parent.CurrentBens[parent.parent.planname][32] == "MEDICAL") {
                html += ''
                + getSeaPhrase("MEDICAL_3", "TCH")
                + '
                ' + getSeaPhrase("MEDICAL_4", "TCH") + ''
                + '
                ' + getSeaPhrase("MEDICAL_5", "TCH") + ''
                + '
                ' + getSeaPhrase("WAIVE_1", "TCH") + plan_name + getSeaPhrase("WAIVE_5", "TCH")
                + ''
                }
                Karen Sheridan
                Veteran Member
                Posts: 141
                Veteran Member
                  so that post got messed up.
                  planname[32] is the type you set-up on BS02/BS03. So check to see if it is equal to "MEDICAL" and add your code to the table.
                  We have verbiage added on that page for Medical, Dental and Vision based on looking at planname[32].