PDA

View Full Version : Placing the whole VB board in another template?


larry_wic
10-25-2005, 05:08 PM
I'm struggling with this...

I have my website that has its own template.
I added the VB to my existing website.
I want VB to fit inside my existing template.

I do not want to add a header or footer or side bar...
I want the WHOLE vb to operate as-is inside my existing template.

Now, I know I can edit the FORUM_HOME template and the
FORUM_DISPLAY template... to get my desired results.

BUT that is only the home page and the main thread pages.
ITS not ALL of the vb pages.

Isn't there "ONE" template that is the main template, that all other templates are based off of?

yes, no?

If yes, which one?
If no, besides the FORUM_HOME and FORUM_DISPLAY... what are the other forums that I need to edit?

Thanks!!!
Larry

larry_wic
10-25-2005, 06:58 PM
thanks James...

but I don't think that will work.
that does appear to be the "last" place VB goes out.... BUT

the existing VB templates have header and other "stuff" that can't appear in the body tags of a web page.

So even if I could make it work, I would still need to go edit many templates (of which I don't know which to change)


I'm guessing I will have to do plan B.... just go edit each template file individually :(

WHich leads to the second question....

What does each of the templates do?
Is there not a "Description" list of the templates?

Right now, you have to guess the what the name is saying.
Open it. Look at the code or view the code (display it) and see what it is.
If its what you think it is... edit it.
IF not, leave it alone and move to the next template.

Long Process....
there has got to be a better way :)

THANKS

Sinistra
10-25-2005, 07:53 PM
If your site is using tables you can add your forum into a new templade Put the opening table code in the header and the finishing table code in the footer. so here is how it would look

Header code

<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>Logo info gose here and navebar if you have a custon navbar</td>
<td>
<!-- content table -->
$spacer_open

$_phpinclude_output

Footer Code
at the bottom of all the HTML put

</td>
<td>the rest of your site footer will go here</td>
</tr>
</table>


sorry I don't have an exaple to show you but this should help you out in some way ^_^

larry_wic
10-25-2005, 08:35 PM
YES. YES. YES!!!!!

Thank You Lord!!!
:)

I was not thinking clearly.... Didn't think you can use the header/footer in that way!!!!

kept thinking the top - VB - bottom but the html code is not linear :)
not sure that made since... BUT I get it!!!

THANK YOU!!!!