Author |
Topic  |
JasB19
Starting Member
49 Posts |
Posted - 15 December 2002 : 17:52:13
|
well i'm trying to integrate my web site with the forum and seached the board for how to do it and pulled up a couple of topics. One said i had to edit the inc_top.asp file with the code and went through that and then i realized i have no inc_top.asp should i or is that incorrect. |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
JasB19
Starting Member
49 Posts |
Posted - 15 December 2002 : 18:20:15
|
thanks |
 |
|
JasB19
Starting Member
49 Posts |
Posted - 15 December 2002 : 18:40:38
|
do you still insert the code after <body style="<%= strPageBGColor %> <%=strDefaultFontColor %>> <a name="top"></a><font style="<%= strDefaultFontFace %>">
|
 |
|
day
Starting Member
4 Posts |
Posted - 17 December 2002 : 15:52:00
|
I've upgraded our forum but having trouble customizing the version. On the previous version I had a server side include (that contained navigation for the rest of our site) on the inc_top.asp. This worked great. However the new Snitz forum uses inc_header.asp which is written in a non-html format (Perl?) and when I insert my <!--#include file="navigation.asp" --> on line 282 like this: <a name=""top""></a><!--#include file="navigation.asp" --><font face=""" & strDefaultFontFace & """>"
I get an error telling me to contact the system administrator.
How can I get that include file in there? |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 17 December 2002 : 18:10:36
|
Why would you do the include between the <a> and <font> tags? Why not at the end?
<a name=""top""></a><font face=""" & strDefaultFontFace & """>"
%><!--#include file="navigation.asp" --><%
Do not forget the chars in red. You need to insert them to avoid the error you're getting.
JasB19,
I think you can insert whatever you want at this point, yes, and in the way I show here (of course, excluding the include, if you want to have your navigation inserted directly, or using an include if you prefer it that way). I've never done it myself, but I guess you can try it.
|
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
day
Starting Member
4 Posts |
Posted - 17 December 2002 : 18:58:56
|
well I added this modification:
<a name=""top""></a><font face=""" & strDefaultFontFace & """>" %><!--#include file="../include/navigation.asp" --><%
like you suggested, no luck, then I tried adding the include at line 41, right with the <!--#INCLUDE FILE="inc_func_common.asp" --> include, no luck.
Here's the error: An error occurred on the server when processing the URL. Please contact the system administrator.
Then I tried: Response.Write "<!--#include file=""../include/navigation.asp"" -->"
I didn't get the error, but the include was not displayed
any other suggestions? |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 17 December 2002 : 19:06:24
|
Ok, try this - delete the red chars and add the green parts as shown:
"<a name=""top""></a><font face=""" & strDefaultFontFace & """>" & vbNewLine & _
vbNewLine & _
%><!--#include file="../include/navigation.asp" --><%
Response. Write vbNewLine & "<table align=""center"" ...
|
Snitz 3.4 Readme | Like the support? Support Snitz too |
Edited by - ruirib on 17 December 2002 19:07:53 |
 |
|
day
Starting Member
4 Posts |
Posted - 17 December 2002 : 19:21:24
|
Your help is very much appreciated, unfortunately that last suggestion did not work either, same error message.
still open to other thoughts... |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
day
Starting Member
4 Posts |
Posted - 17 December 2002 : 19:39:51
|
Got it! The source of my woes was my include file. My navigation file had it's own include file that linked it to our SiteServer database, once I deleted the include file from my include file, shazam, it works!
whew, thanks for all of your help, I'm a designer not a programmer so I'm a bit dense on these matters.
thanks again! |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
hondaxr
New Member

80 Posts |
Posted - 29 December 2002 : 00:02:44
|
I've tried the edits shown here but they are not working on my inc_header.asp file. Is there some other syntax for the virtual include (SSI) that I can try?
No matter what I try I get an error that says the include file was not found. I can cut the URL out of the error and paste it in my browser and it loads fine.
I am trying to get my top.htm file (root dir) to load on all forum pages. I added the bottom.htm with no problems. I had these same files loading on the V3.3 with no problems.
I have version: sf2k_v34_03 |
Edited by - hondaxr on 29 December 2002 07:31:30 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
hondaxr
New Member

80 Posts |
Posted - 29 December 2002 : 08:36:56
|
I have tried all of the above mods in different areas of the inc_header.asp file.
For example:
Response.Write "<!--#include file=""../top.htm"" -->" Response.Write ""<!--#include file=""../top.htm"" -->"" %><!--#include file="../top.htm" --><% Obviously my Include file is top.htm and it is located in the root directory.
Is it possible you could email me or paste here exactly where I would put my include file, including the proper syntax? |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Topic  |
|