The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
ok so i'm designing a template from scratch because i can't get used to this new vbulletin style and have a few questions.
QUESTION 1: the order is header headinclude headinclude_bottom forumhome/forumdisplay/showtrhead/whatever footer right? what actually defines this? (is there a container template or such that calls for all this?) QUESTION 2: so now if i want to create a completely new style how would i split up my 3 tables, for example lets say my code is: Code:
<table id="MyOwnFixedContainer" width="1088" align="center" border="0"> <tr> <td id="header"> </td> </tr> <tr> <td id="forumbit or whatever"> </td> </tr> <tr> <td id="footer"> </td> </tr> </table> HEADER TEMPLATE Code:
<table width="1088" border="0" cellspacing="0" cellpadding="0"> <tr> <td id="header"> </td> </tr> <tr><td id="forumbit or whatever"> FOOTER TEMPLATE Code:
</td> </tr> <tr> <td id="footer"> </td> </tr> </table> and well whatever i want to actually be between header and footer would just be in showthread/forumdisplay/memberinfo or whatever. would this work? |
#2
|
||||
|
||||
![]()
That should work assuming all the stuff in the middle is formatted correctly.
Your order is a bit off. If you look at a template like FORUMHOME or FORUMDISPLAY, you can see the whole <head> tag is in there which includes a call to the template headinclude at the top and headinclude_bottom at the bottom. Then you see the <body> tag which starts right out calling the header and navbar template. The footer is then at the very bottom. |
#3
|
|||
|
|||
![]()
hello lynne, thanks a lot for replying!
so forumhome, showthread, usercp etc are actually the "container like" templates that call the header etc and place them? interesting, i hadn't gotten to forumdisplay etc yet. but that makes excellent sense. thanks a lot that was very helpful! i do have one final question, every vbulletin page calls the header, navbar, headinclude, headinclude_bottom and footer right? so if i take everything out of the headinclude and navbar and just place it all in the header, it'll still work practically teh same right? |
#4
|
||||
|
||||
![]() Quote:
You cannot just move everything into the header template because every templates needs to have the variables registered for use in it. So, if you move a variable $my_headinclude_variable into the header template and it's not registered for use, then you will get nothing. |
#5
|
|||
|
|||
![]()
got it, thanks again! enjoy your day.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|