The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[Help] Cannot put $navbar in header / put navigation on header
im so sorry for asking this stupid question , but i cannot do nothing expect putting all the header in navbar and fix it..
can it be on header? its like vbulletin.org see the Header - Home Forum bla bla bla this is mean: Code:
Go Back vBulletin.org Forum / vBulletin 3 Discussion / vB3 Programming Discussions Reload this Page [Help] Cannot put $navbar in header / put navigation on header i dont know what to do. ---------------for all who didn't understand------------------- i want to do this: <-- Header: Start --> <-- Logo --> Code: bla bla bla <-- Logo END --> $navbar <-- Header: End --> and its not working EDIT: in navigation i mean to this code: Code:
<table cellpadding="4" cellspacing="1" border="0" width="100%" align="center"> <tr> <td width="100%"> <if condition="is_array($navbits)"> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="bottom"> <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td> <td> </td> <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td> </tr> <tr> <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$navbar_reloadurl"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td> </tr> </table> <else /> <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> </if> </td> </tr> </table> <!-- / breadcrumb, login, pm info --> |
#2
|
||||
|
||||
You can't just move the code and have it work in other templates. The navbits are defined after the header is rendered, so you need to do something to make the navbits code before the header is rendered if you want to move it to the header.
|
#3
|
|||
|
|||
umm , Lynne thanks for ur posting
but this is what im talking about , is there a way to move the navbar into the header to interagate header + navbar in same, but i dont want to put header in navbar i want to put navbar onto header Can i do this,and if i can Please Help Me Thanks. |
#4
|
||||
|
||||
why do you want the two templates to be merged at first? they are coded seperately for specific reasons... and they are not for design, but for functionalities...
so instead of praying for someone to help, give us details of the reasons you need this to be done... |
#5
|
||||
|
||||
Quote:
|
#6
|
|||
|
|||
umm,
okay thanks for the help in the end i did this. header template: <a name="top"></a> and in the navbar i merged with header thanks for help. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|