Author |
Topic  |
|
acoustika
Junior Member
 
Denmark
311 Posts |
Posted - 13 December 2003 : 11:34:43
|
Hey there I have a problem with my inc_header.asp first I will describe tre prob. I have cookie set to website, And my mainpage is with 2 frames, thoug I don't think's it's because of that. My problem is. when I am on for example default?CAT_ID=x and I click "home" it's just fine, actually it's fine eveywhere except when you are in a forum for example Forum.asp?FORUM_ID=x then when i click "Home" , well it takes me home but puts the ?FORUM_ID=x behind my HomeURL, I have tried removing the line in red from Inc_header.asp
response.write " <a href=""" & strHomeURL & "" if Request.QueryString("FORUM_ID") <> "" then Response.Write("?FORUM_ID=" & cLng(Request.QueryString("FORUM_ID"))) Response.Write """" & dWStatus("Startsiden...") & " tabindex=""-1"">" & getCurrentIcon(strIconStart,"Startsiden...","align=""absmiddle""") & "</a>" & vbNewLine
That seems to fix the error but what does this line do??????? |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
Edited by - ruirib on 13 December 2003 13:29:10 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
Posted - 13 December 2003 : 12:02:50
|
The Home link in the navigation menu should always point to whatever you have your homeurl set to. if it doesn't, then you must have modified your inc_header file. what line number is the one you ended up changing? |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
 |
|
acoustika
Junior Member
 
Denmark
311 Posts |
Posted - 13 December 2003 : 13:26:04
|
can I post a text file to my inc_header instead I have made quiet some changes. My strHomUrl is set to http://www.uniquedk.dk and my forum url to http://www.uniquedk.dk/forum/ That would be right, won't it????????
But this prop. ONLY appears when you goto "Home" from a forum, if is't on default or topic or anywhere else it works like it should, weird
I have a .txt of my inc_header here inc_header.txt |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
Edited by - acoustika on 13 December 2003 13:42:40 |
 |
|
acoustika
Junior Member
 
Denmark
311 Posts |
Posted - 13 December 2003 : 13:44:21
|
hmm, Why Does dreamweaver upload my Inc_header.txt like this?????????????? It obviously takes all the include files with it
Never mind, I figured out to delete the # sign from all the includes, but is this the way to do it, or have I reconfigured something I can't remember, doesn't remember having probs. with uploading a .txt with includes (hmm a restart of dreamweaver did it, don't know what went wrong, but anyways the # is missing from all the includes in the file ;-))
Anyways the Inc_header.txt link should show my header file as it is now |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
Edited by - acoustika on 14 December 2003 00:06:50 |
 |
|
acoustika
Junior Member
 
Denmark
311 Posts |
Posted - 13 December 2003 : 17:18:18
|
Anyone????????? |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
 |
|
|
Topic  |
|