Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Command
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Command

 Post Reply Post Reply
Author
WebCity View Drop Down
Groupie
Groupie
Avatar

Joined: 11 December 2003
Location: United States
Status: Offline
Points: 154
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebCity Quote  Post ReplyReply Direct Link To This Post Topic: Command
    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?


   

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.