We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28640
    • 8 Posts
    Hi

    How do you edit field labels e.g. "zip" to "Post Code", "State" to "County"

    I have looked in the lexicon but did not find anything (I may have missed it, if it is there).

    Please could someone tell me how to do this, I thought it would be a simple thing to do, but I just can’t find where to make these changes.


    Thank in advance

    Stoosh
      • 33968
      • 863 Posts
      You should be able to edit those values in /core/lexicon/en/user.inc.php

      You’ll need to clear your site cache to see any changes take effect.

      Might want to watch out on upgrades though as the file might be overwritten. Would be great if someone can clarify this and suggest a way around it!
        • 8609
        • 607 Posts
        Quote from: Stoosh at May 26, 2011, 04:58 AM

        Hi

        How do you edit field labels e.g. "zip" to "Post Code", "State" to "County"

        I have looked in the lexicon but did not find anything (I may have missed it, if it is there).

        Please could someone tell me how to do this, I thought it would be a simple thing to do, but I just can’t find where to make these changes.


        Thank in advance

        Stoosh

        Where are these labels? Are they on a resource or ?
          • 28640
          • 8 Posts
          Quote from: lucas at May 26, 2011, 05:13 AM

          You should be able to edit those values in /core/lexicon/en/user.inc.php

          You’ll need to clear your site cache to see any changes take effect.

          Might want to watch out on upgrades though as the file might be overwritten. Would be great if someone can clarify this and suggest a way around it!


          Thank you, your help has worked perfectly.

          Stoosh
            • 33968
            • 863 Posts
            No problem smiley

            Where are these labels? Are they on a resource or ?
            @einsteinsboi: they are user profile fields (User > Profile)
              • 36764 ☆ A M B ☆
              • 45 Posts
              Evengard aka Eiventeleiron Reply #6, 15 years, 5 months ago
              The better way is to use Lexicon, no?

              Without editing the source code
                • 33968
                • 863 Posts
                It sure is! For some reason I couldn’t find the fields in there the first time, just checked again and they are there rolleyes

                Just go to Topic > User (on page 2) and you can browse through and find the zip/state fields to edit.