The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to place a banner between head and body
I raised this question elsewhere, but I realise it may have been the wrong section.
I wish to add certain information between the head of the site and the body (just under the nav bar). It needs to be 90 pixels high and extend the whole width of the page and it needs to appear on all pages in the forum, CMS, blog. It was going to be an SSI (server side include). Any suggestion on which template I need to edit to insert the <include> code? |
#2
|
|||
|
|||
Put it in the navbar template as shown below
HTML Code:
tabindex="100"/></span></span> </form> <ul class="navbar_advanced_search"> <li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li> </ul> </div> </vb:if> </div> </div><!-- closing div for above_body --> <!--############### PUT IT RIGHT HERE ################--> <div class="body_wrapper"> <div id="breadcrumb" class="breadcrumb"> <ul class="floatcontainer"> <li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li> {vb:raw navbits.breadcrumb} {vb:raw navbits.lastelement} </ul> <hr /> </div> |
Благодарность от: | ||
Macsee |
#3
|
|||
|
|||
Thanks, nerbert.
I found that location in the navbar template and I added this, but the contents of test.htm don't seem to seem to show on the forum homepage. PHP Code:
Any suggestions? |
#4
|
||||
|
||||
Maybe try it without the start and close Php tags....
PHP Code:
|
#5
|
||||
|
||||
Old thread to be bumping, but in any event, you can't use PHP in a templates. You can use it in plugins that reference the external file you want to use, then pack it inside a variable and put that in the templates. Alternatively, if it's just regular HTML code in the file, you could just put that code in the templates.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|