You are viewing limited content. For full access, please sign in.

Question

Question

Change the word My Weblink on the Welcome page

asked on December 28, 2015

Hi, 

 

I am trying to Change the word My Weblink on the right corner on the welcome page, but nothing happens. Doing an inspect element i can trace where it is originated, but it doesn't change. I also need the word My Weblink to change to Password Reset when i have clicked on it. 

 

 

0 0

Answer

SELECTED ANSWER
replied on January 7, 2016

Gert,

 If you are using version 8.x then you will need to physically change the wording in the MyWebLink.aspx file. Locate the following line in MyWebLink.aspx and change it to your desired wording:

<span class="LinkSpacer">|</span></span><a class="TopLink" id="PrefsLink" runat="server" rel="nofollow">My WebLink</a>

If you are using version 9.x then you will not need to add any code to MyWebLink.aspx since it no longer contains the "My WebLink" option.

 

I have updated the original post to reflect this.

0 0

Replies

replied on January 6, 2016 Show version history

Gert,

 If you don't have the option to rebuild the WebLink project then an easier way would be to do the following:

Open the Welcome.aspx (version 8.x & 9.x) and MyWebLink.aspx (version 8.x only) file and at the bottom of each file paste the following code, save and refresh the page. No recompiling necessary!

<script language="vbscript" runat="server">

    Private Sub Page_PreRenderComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.PreRenderComplete, Me.PreRenderComplete
        PrefsLink.InnerText = "Password Reset"
    End Sub
    
</script>

 

1 0
replied on January 6, 2016

Thank you so much, it is working!

0 0
replied on January 7, 2016

Hi Wez, 

i do get the following error when clicking on the Password Reset link on the welcome page. 

This is the error i get. Do you perhaps know what could cause this?

0 0
SELECTED ANSWER
replied on January 7, 2016

Gert,

 If you are using version 8.x then you will need to physically change the wording in the MyWebLink.aspx file. Locate the following line in MyWebLink.aspx and change it to your desired wording:

<span class="LinkSpacer">|</span></span><a class="TopLink" id="PrefsLink" runat="server" rel="nofollow">My WebLink</a>

If you are using version 9.x then you will not need to add any code to MyWebLink.aspx since it no longer contains the "My WebLink" option.

 

I have updated the original post to reflect this.

0 0
replied on January 11, 2016

Hi Wes, 

This was my mistake, i didnt see the part of the versions ontop. It is working now. 

 

Thanks

Gert

1 0
replied on December 30, 2015

Open the Welcome.aspx.vb file and around line 41, change

PrefsLink.InnerText = m_strings.GetString("STR_MY_WEBLINK")

to

PrefsLink.InnerText = "Password Reset"

 Next, open the MyWebLink.aspx.vb file and around line 67, change

MyWebLinkLabel.InnerText = m_strings.GetString("STR_MY_WEBLINK")

to

MyWebLinkLabel.InnerText = "Password Reset"

Finally, rebuild the WebLink project (i.e. with Visual Studio 2012) and you should now see the string changes.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.