FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » This one will never fly but here it is anyway.
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: This one will never fly but here it is anyway. [message #13134 is a reply to message #13127] Tue, 23 September 2003 00:33 Go to previous messageGo to previous message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma:
Senior Member
I'm not sure that I have anything to add to this discussion but I think many folks want to integrate FF to their site.

Having done HTML pages the hard way I finally adopted a 5 column template (using tables, ugh!) which I recently reduced to 3 columns by removing the 2nd and 4th columns (both of which just provided separation from center column and the columns on the outside).

And I recently came across a site that had a 3 column format using just the DIV tag for its structure. So I'll spend some time learning it. Until then, here is what I did. For my site I removed the left and right columns since I didn't use anything on the sides but I have added them back in the below presentation ( so if I made a mistake, please forgive me, but you get the idea ).

go into the Admin Control Panel and edit the header.tmpl file thru the Template Editor. I saved the original header to a file and replaced it with the following:


code


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Your title here</title>
<meta name="DESCRIPTION" content="all the meta stuff here">

<style type="text/css">
.tbl_caption {
font-family: tahoma, verdana, myriad web, syntax, sans-serif;
background-color: #0084B5;
color: white;
font-size: 11px;
font-weight : bold;
}

</style>
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<!-- from ff except for the ih.css-->
<script language="javascript" src="lib.js" type="text/javascript"></script>
<link rel="StyleSheet" href="/ff.css" type="text/css">
<!-- from ff -->
</head>

<body text=#000000 vLink=black aLink=#ff0000 link=black leftmargin=0 topmargin=0>
<br>
<div align=center>
<!-- logo goes here -->
<img src="http://www.your_site.com/images/banners/logo3.jpg" width="150" height="100" border=0 alt="">
<br><br>
<table border=1 cellspacing=0 cellpadding=4 width="886" bordercolor="#ffffff" bordercolorlight="#000000">
<tbody>
<tr class="tbl_caption">
<td>
<p align=right>
I put a menu here across the top
</p>
</td>
</tr>
</tbody>
</table>

<br>

<!-- header.html -->

<!-- START of content table -->
<table>
<tr>
<td>left menu/content here</td>
<td>
<!-- this will be the TOP of the center content - in this case - FUDFORUM -->
<!-- from ff -->
<table width="90%" border="0" cellspacing="3" cellpadding="5">
<tr><td class="ForumBackground">
<!-- from ff -->





I then did the following to the footer.tmpl after saving the original:

Quote:


<!-- from ff -->
</td></tr></table>
<table width="90%" border="0" cellspacing="3" cellpadding="5"><tr><td class="ForumBackground" align="center">
<b>.::</b> <a href="mailto:{GVAR: ADMIN_EMAIL}">{MSG: forum_contact}</a> <b>::</b> <a href="{ROOT}?t=index&amp;{DEF: _rsid}">{MSG: forum_home}</a> <b>::.</b>
<p>
<span class="SmallText">Powered by: FUDforum {GVAR: FORUM_VERSION}<br />Copyright &copy;2001-2003 <a href="http://fud.prohost.org/" class="GenLink">Advanced Internet Designs Inc.</a></span>
</td></tr></table>
<!-- from ff -->

<!-- footer.html -->

<!-- this will be the BOTTOM of the center content - in this case - FUDFORUM -->
</td>
<td>right menu/content goes here</td>
</tr>
</table>
<!-- END of content table -->


<br><br>
<table width="100%">
<tr>
<td>
<div align="center">
<p class=copyright>Copyright ©2003 <a href=#>your_site.com</a><br>
</div>
</td>
</tr>
</table>
</body>
</html>


I tried to add some comments to show what I did. Basically, what I did was to wrap my standard template around FUDForum by taking my 3 column template and splitting it at the top of the 2nd (the middle ) column and putting the top half into the header.tmpl (with some adjustments for including the FF code needed there) and putting the bottom half of my template into the footer.tmpl.

The key to what I did, I think, was to have a standard 3 column template which I could spit and wrap around FUDForum. My early templates, years ago, were not set up that way and I doubt that I could "wrap" them around FUDForum.

Obviously, you don't need to use the 1st or 3rd column but they are there if you need them. You could use jus the 1st column ( for say a menu or ads ) and 2nd column for FUDForum.

I also created a new css to move it out of the "protected" area. Just made it easier to edit.

Hope I am not addressing some other problem... Embarassed



Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon6.gif
Previous Topic: Indicator of New Messages with Collapsed Forum Group
Next Topic: Forum Seperators
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 09:19:36 GMT 2024

Total time taken to generate the page: 0.04620 seconds