Print Page | Close Window

Forum within my main site

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=5660
Printed Date: 03 April 2026 at 5:10am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Forum within my main site
Posted By: aftereden
Subject: Forum within my main site
Date Posted: 10 September 2003 at 5:08pm

I am trying to achieve what this guy has done, placing his forum with the main design of his site  http://www.hotelairspot.com/forum -




Replies:
Posted By: aftereden
Date Posted: 10 September 2003 at 5:31pm

answering my own post here... 

someone let me know if I am on the right path. Do I just need to edit the main root Default.asp file by cutting the code out thats in the body tags the placing my html code in, and then pasting the original code back in the table I would like it to appear in?

Sounds right? let me go and have a test.



Posted By: wistex
Date Posted: 10 September 2003 at 5:39pm

No, no need to edit default.asp.

Edit header.asp and footer.asp instead.  That is what I did for http://www.caribbeanchoice.com/ - CaribbeanChoice.com and you will see it turned out quite well.



-------------
http://www.wistex.com" rel="nofollow - WisTex Solutions
http://www.caribbeanchoice.com/forums" rel="nofollow - CaribbeanChoice Forums


Posted By: aftereden
Date Posted: 10 September 2003 at 5:51pm

would editing the header and footer allow me to have the forum within a specific table?

when I look at these 2 files I can't see how to get the forum within that table, looks like I need to cut my site in half...



Posted By: wistex
Date Posted: 10 September 2003 at 6:20pm

You would need to treat the forum as a cell in the table you are creating.  You would create all the code for the table up to the <td> tag where the forum would reside.

The footer file would then resume with </td> and the rest of the table code.

Does that make sense?



-------------
http://www.wistex.com" rel="nofollow - WisTex Solutions
http://www.caribbeanchoice.com/forums" rel="nofollow - CaribbeanChoice Forums


Posted By: MadDog
Date Posted: 10 September 2003 at 7:18pm
Just use the header.asp file and pretend its above the main code in default.asp.

Then change the footer.asp and pretend its below all the code in default.asp

Its really simple, i even did it on my site if you want to see it, http://www.invisionportal.com - www.invisionportal.com

-------------
http://www.iportalx.net" rel="nofollow">


Posted By: aftereden
Date Posted: 11 September 2003 at 12:00am

great thanks for the help... I see the light now.

MadDog, nice site, very clean very smart.

 



Posted By: amanda
Date Posted: 15 September 2003 at 10:18pm

hi there

i really need help

i have no idea what i am doing could someone

take the time to explai to someone who wants to learn how to add into site

plzzzzz



Posted By: wistex
Date Posted: 15 September 2003 at 10:25pm

Originally posted by amanda amanda wrote:

take the time to explai to someone who wants to learn how to add into site

What exactly are you trying to do?  If you want to customize the top and bottom of your page, all you have to do is edit header.asp and footer.asp and add your own html.



-------------
http://www.wistex.com" rel="nofollow - WisTex Solutions
http://www.caribbeanchoice.com/forums" rel="nofollow - CaribbeanChoice Forums


Posted By: amanda
Date Posted: 16 September 2003 at 4:42am

ok i really need help bcoz i don't understand wat u mean about changing the header and footer files. i looked at the html for the caribean forum and he has put his logo in the main body code not in the header code.

also how do i acces the html code for the body so that i can change the layout



Posted By: God_Struth
Date Posted: 16 September 2003 at 11:01am
amanda, to do this requires some HTML knowledge, if you dont have any then dont attempt it or you could screw up your forums look.


In the includes folder you have two files, one called header.asp and the other footer.asp:

In header.asp look for the following code:
Originally posted by wrote:

<script language="JavaScript" src="includes/default_javascript.js" type="text/javascript"></script>
<!--#include file="skin_file.asp" -->
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="<% = strBgColour %>" text="<% = strTextColour %>" background="<% = strBgImage %>">



And in footer.asp:
Originally posted by wrote:



</body>
</html>


Please Note: Yours may not be identical to mine above.




What you need to try imagine is that the forum is in one big table cell, so basically you want to build more cells around the forum one.

Like so:


<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="<% = strBgColour %>" text="<% = strTextColour %>" background="<% = strBgImage %>">

<table width="100%">
<tr>
<td colspan="3">Header contents here</td>
<tr>
<td width="10%">Menu in this Cell</td><td width="80%">Forum in this Cell</td><td width="10%">Right content in this Cell</td>
</tr>
</table>


What the above would give you is a basic 3 column look with links down the left, the forum in the middle, and content down the right.

(Note that is just a rough design to give you an idea of what you need to do.)

See the next post on how to place it in your files.


Posted By: God_Struth
Date Posted: 16 September 2003 at 11:10am
To implement the above code header.asp would now look like:

Originally posted by wrote:


<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="<% = strBgColour %>" text="<% = strTextColour %>" background="<% = strBgImage %>">

<table width="100%">
<tr>
<td colspan="3">Header contents here</td>
<tr>
<td width="10%">Menu in this Cell</td><td width="80%">



And footer.asp would look like:

Originally posted by wrote:


</td><td width="10%">Right content in this Cell</td>
</tr>
</table>




The left and right columns can be filled with an include file which containes your navigation or sponsors etc...

Hope that gives you a better idea of how it works, give it a try and see how you get on, but as always please make a backup copy just in case.




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