Print Page | Close Window

Command

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=27073
Printed Date: 02 April 2026 at 11:44pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Command
Posted By: WebCity
Subject: Command
Date Posted: 05 March 2009 at 2:54pm
In the status_bar_header_inc.asp file I added/copied the FQA command button.  and I am having trouble changing the text from FAQ to Contact  below is the code

'Display the other common buttons
    Response.Write ("&nbsp;&nbsp;<img src=""" & strImagePath & "FAQ." & strForumImageType & """ alt=""" & strTxtContact & """ title=""" & strTxtContact & """ style=""vertical-align: text-bottom"" /> <a href=""../contact.htm" & strQsSID1 & """>" & strTxtContact & "</a>")
    Response.Write ("&nbsp;&nbsp;<img src=""" & strImagePath & "FAQ." & strForumImageType & """ alt=""" & strTxtFAQ & """ title=""" & strTxtFAQ & """ style=""vertical-align: text-bottom"" /> <a href=""help.asp" & strQsSID1 & """>" & strTxtFAQ & "</a>")
    Response.Write ("&nbsp;&nbsp;<span id=""SearchLink"" onclick=""showDropDown('SearchLink', 'dropDownSearch', 230, 0);"" class=""dropDownPointer""><img src=""" & strImagePath & "search." & strForumImageType & """ alt=""" & strTxtSearchTheForum & """ title=""" & strTxtSearchTheForum & """ style=""vertical-align: text-bottom"" /> <script language=""JavaScript"" type=""text/javascript"">document.write('" & strTxtSearch & "')</script><noscript><a href=""search_form.asp" & strQsSID1 & """ rel=""nofollow"">" & strTxtSearch & "</a></noscript></span>")
    If blnCalendar AND blnACode = False Then Response.Write ("&nbsp;&nbsp;<span id=""CalLink"" onclick=""getAjaxData('ajax_calendar.asp" & strQsSID1 & "', 'showCalendar');showDropDown('CalLink', 'dropDownCalendar', 210, 0);"" class=""dropDownPointer""><img src=""" & strImagePath & "calendar." & strForumImageType & """ alt=""" & strTxtCalendar & """ title=""" & strTxtCalendar & """ style=""vertical-align: text-bottom"" /> <script language=""JavaScript"" type=""text/javascript"">document.write('" & strTxtCalendar & "')</script><noscript><a href=""calendar.asp" & strQsSID1 & """>" & strTxtCalendar & "</a></noscript></span>")

When I upload this code it gives me this error

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'strTxtContact'

/gocowboys/includes/status_bar_header_inc.asp, line 102


Where do I add the variable?  strTxtContact?


   




Replies:
Posted By: WebWiz-Bruce
Date Posted: 05 March 2009 at 3:19pm
strTxtContact is not a variable in the language file.

Hardcode in the text instead of trying to pull it from the language file.


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



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