Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Editing default.asp and adding a link ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Editing default.asp and adding a link ?

 Post Reply Post Reply Page  <123>
Author
india View Drop Down
Senior Member
Senior Member


Joined: 21 November 2003
Status: Offline
Points: 499
Post Options Post Options   Thanks (0) Thanks(0)   Quote india Quote  Post ReplyReply Direct Link To This Post Posted: 20 December 2003 at 2:03pm

Originally posted by lahorei lahorei wrote:

yaaaaaar u have to do what u need in header file n just link it where u want okayz

i dont get u. header.asp doesnot have annything.

the navigation has links.

Back to Top
lahorei View Drop Down
Groupie
Groupie
Avatar

Joined: 01 December 2003
Location: Pakistan
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote lahorei Quote  Post ReplyReply Direct Link To This Post Posted: 20 December 2003 at 2:09pm
yes u can also do it like that go in header.asp n type an link which u want soo simple
Back to Top
maddkat View Drop Down
Groupie
Groupie


Joined: 13 December 2003
Status: Offline
Points: 154
Post Options Post Options   Thanks (0) Thanks(0)   Quote maddkat Quote  Post ReplyReply Direct Link To This Post Posted: 20 December 2003 at 6:28pm
Originally posted by lahorei lahorei wrote:

Originally posted by -boRg- -boRg- wrote:

Use the header.asp file.

You also have the navigation_buttons_inc.asp file
i think there iz nothing speacil to do with navigation_buttons_inc.asp


navigation_buttons_inc.asp  is the
file that contains all the links
as Borg said. I wouldent edit the header.
Only the navigation_buttons_inc.asp
You should use a response.write statment
to add it. I know this is the file because
this is the file I edited and the changed
and made an extra include to add my
menu on the left instead of the top.
Anyhow the only file you need to edit to
achive this is navigation_buttons_inc.asp
1+1-1=1
Back to Top
india View Drop Down
Senior Member
Senior Member


Joined: 21 November 2003
Status: Offline
Points: 499
Post Options Post Options   Thanks (0) Thanks(0)   Quote india Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2003 at 1:08am

Originally posted by maddkat maddkat wrote:

Originally posted by lahorei lahorei wrote:

Originally posted by -boRg- -boRg- wrote:

Use the header.asp file.

You also have the navigation_buttons_inc.asp file
i think there iz nothing speacil to do with navigation_buttons_inc.asp


navigation_buttons_inc.asp  is the
file that contains all the links
as Borg said. I wouldent edit the header.
Only the navigation_buttons_inc.asp
You should use a response.write statment
to add it. I know this is the file because
this is the file I edited and the changed
and made an extra include to add my
menu on the left instead of the top.
Anyhow the only file you need to edit to
achive this is navigation_buttons_inc.asp

hi maddkat,

thanks 4 ur reply. as u said i opened navigations file and tried to edit it. now i tried to put the following code in all places i.e. guest, admin and members 1by 1.

Response.Write ("&nbsp;&nbsp;<a href=""donate.html"" target=""_self"" class=""nav""><img

src=""" & strImagePath & "help_icon.gif"" align=""absmiddle"" border=""0"" alt=""" &

strTxtDonate& """>" & strTxtDonate & "</a>")

if i put the above code it gives an error

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'strTxtDonate'

/includes/navigation_buttons_inc.asp, line 74

If i put the folllowing code

Response.Write ("&nbsp;&nbsp;<a href=""donate.html"" target=""_self"" class=""nav""><img

src=""" & strImagePath & "help_icon.gif"" align=""absmiddle"" border=""0"" alt=""" &

strTxtActiveUsers& """>" & strTxtActiveUsers & "</a>")

it works fine.

whats the problem???

Thanks a loooooooot in advance

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: 21 December 2003 at 2:11am
Before using a variable you need to difine it.

Either place:-
Const strTxtDontate = "Donate"

in the language_file.asp or simply use text eg:-

Response.Write ("&nbsp;&nbsp;<a href=""donate.html""
target=""_self"" class=""nav""><img src=""" & strImagePath
& "help_icon.gif"" align=""absmiddle"" border=""0""
alt=""Donate"">Donate</a>")
Back to Top
india View Drop Down
Senior Member
Senior Member


Joined: 21 November 2003
Status: Offline
Points: 499
Post Options Post Options   Thanks (0) Thanks(0)   Quote india Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2003 at 2:36am

Originally posted by -boRg- -boRg- wrote:

Before using a variable you need to difine it.

Either place:-
Const strTxtDontate = "Donate"

in the language_file.asp or simply use text eg:-

Response.Write ("&nbsp;&nbsp;<a href=""donate.html"" target=""_self"" class=""nav""><img src=""" & strImagePath & "help_icon.gif"" align=""absmiddle"" border=""0"" alt=""Donate"">Donate</a>")

THANKS A LOT BORG. IT WORKS

U R GREAT

Back to Top
india View Drop Down
Senior Member
Senior Member


Joined: 21 November 2003
Status: Offline
Points: 499
Post Options Post Options   Thanks (0) Thanks(0)   Quote india Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2003 at 2:42am

Borg, sorry for distrubing you again.

I linked that page. After that, should i use paypal's html code or there is some ASP script too ? i downloaded RPG Mod's but i dont understand whats that ?

Thanks a loooooooot

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: 21 December 2003 at 2:54am
Sorry I wouldn't know.
Back to Top
 Post Reply Post Reply Page  <123>

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.