Print Page | Close Window

Inserting Link into /language_file_inc.asp

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz NewsPad
Forum Description: Support forum for the Web Wiz NewsPad application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=26553
Printed Date: 29 March 2026 at 10:24am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Inserting Link into /language_file_inc.asp
Posted By: Wayne G.
Subject: Inserting Link into /language_file_inc.asp
Date Posted: 19 November 2008 at 12:46am
Hello:
   I would like to insert an active hyperlink into one of the definitions in /language_file_inc.asp. 
 
Such as:
Const strTxtViewSentNewsletters = "Use our Forum for Addtional Help"
being changed to:
Const strTxtViewSentNewsletters = "Use our Forum at www.MyWebSite.com/forum"
 
Can this be done?  What is the correct code that wraps the URL ?   An example would be great, please.
 
Thanks,
 
Wayne G.
 



Replies:
Posted By: WebWiz-Bruce
Date Posted: 19 November 2008 at 10:25am
I've not tested this but the following should work:-

Const strTxtViewSentNewsletters = "Use our Forum at <a href=""www.MyWebSite.com/forum"">www.MyWebSite.com/forum</a>"

You need to use two double quotes within the string to escape the character as you can see above, otherwise it will think you are ending the string and give an error.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Wayne G.
Date Posted: 19 November 2008 at 3:36pm
Hi Bruce:
  Thank you for your assistance.  The code will insert and render properly.  However, the link is being called as a relative link rather than the full URL that I did enter.   It is automatically appending http://www.mywebsite.com/NewsPad/ - www.mywebsite.com/NewsPad/ .  The link ends up calling http://www.mywebsite.com/NewsPad/www.mywebsite.com/Forum/ - www.mywebsite.com/NewsPad/www.mywebsite.com/Forum/ .   Is there a way to break out of the relative link call?
 
Thanks,
 
Wayne G.
 


Posted By: Wayne G.
Date Posted: 19 November 2008 at 4:14pm
Hello:
       I added the http:// to the called URL and it solved the problem.  Thank you for your help.
 
Wayne G.
 


Posted By: Putz22
Date Posted: 19 November 2008 at 4:18pm
Good work Wayne.. its more interesting to try to figure things out.. Thumbs Up



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net