Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 05-18-2007, 03:59 PM
rkossick rkossick is offline
 
Join Date: May 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help Seprating Out Header and Footer Code

Hi, All -

I'm new here and need some help.

I designed a skin (with several nested tables) using the design mode of Dreamweaver that I would like to use as a shell for my vBulletin forum.

I originally cut and pasted the code from the Dreamweaver page I had created directly into the "Header" code box that shows up at Styles and Templates --> Style Manager --> Common Templates (after having cut some of the default VB coding that initially shows up in the "Header" box). That was great insofar as it pulled the whole skin I had built in Dreamweaver into VB ... but, it did this in a way that inserts the VB forum page into one of the table spaces I had initiall created at the very bottom of the page. I was able to go into the CP and modify the width of the VB forum so that it fits flush with the table scheme I layed out in Dreamweaver. I can not, howeverm, figure out how to raise the VB forum up into a higher position. I hope this makes sense the way I have described it ... again, I'm a novice.

I spoke with the folks at VB and they suggetsed doing a posting here to get help fixing/separating the header/footer code so that the VB forum wraps in a way that works with the established table spaces. If you go to If anyone out there can help, it would be hugely appreciated!

The current web view of what I have created so far is here:

http://larutamayaforfoodies.com/forums/ (you'll see the VB forum element there at the bottom)

And below is the entire code for the skin (with nested tables) I built in Dreamweaver:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-color: #000000;
}
.style1 {
font-family: Zapfino;
color: #66ccff;
font-size: 30px;
}
a {
font-family: Helvetica Neue UltraLight;
}
a:link {
color: #FFFFFF;
}
a:visited {
color: #000066;
}
.style7 {font-size: 18px; font-family: "Helvetica Neue UltraLight"; color: #FFFFFF; font-weight: bold; }
-->
</style></head>

<body>
<table width="701" height="630" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#660000">
<!--DWLayoutTable-->
<tr align="center" valign="top">
<td height="26" colspan="5" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
<td width="1"></td>
</tr>
<tr align="center" valign="top">
<td width="52" height="101"></td>
<td colspan="3" align="center" valign="middle" bgcolor="#330000"><h1><span class="style1">La Ruta Maya for foodies</span></h1></td>
<td width="52"></td>
<td></td>
</tr>
<tr align="center" valign="top">
<td colspan="5" rowspan="2" align="center" valign="middle"><!--DWLayoutEmptyCell-->&nbsp;</td>
<td height="18"></td>
</tr>
<tr align="center" valign="top">
<td height="50"></td>
</tr>
<tr align="center" valign="top">
<td height="172" colspan="5" rowspan="5" valign="top"><p align="center" class="style7">&nbsp;</p></td>
<td></td>
</tr>
<tr align="center" valign="top">
<td height="24"></td>
</tr>

<tr align="center" valign="top">
<td></td>
</tr>
<tr align="center" valign="top">
<td height="23"></td>
</tr>
<tr align="center" valign="top">
<td height="80"></td>
</tr>



<tr align="center" valign="top">
<td colspan="5" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
<td height="67"></td>
</tr>
</table>
</body>
</html>
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03241 seconds
  • Memory Usage 2,160KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete