DieselMinded
07-07-2008, 04:18 AM
I have the code for my header nav in a separate template how do i made it call the template , its named
headernav
i put $headernav in my header above <--logo--->
but its not showing it
Please help i dont really know what im doing
here is my code
<style type="text/css">
<!--
.networkbarselect {
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
color: #333333;
width: 200px;
background-color: #F2F2F2;
}
.toolbarlink A{
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 11px;
color: #333333;
}
.toolbarlink A:hover{
color: #222222;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<table width="100%" height="30px" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="http://www.dieselbombers.com/images/bg.gif" width="29%">
<p style="margin-top: 0px; margin-bottom: 5px">
<font face="Verdana"><b>
<font size="2">
</font></b></font>
<a target="_self" href="http://www.dieselbombers.com">
<font size="2">
<img border="0" src="http://www.dieselbombers.com/images/home24.png" width="24" height="24" alt="Go To The Home Page"></font></a>
<a target="_self" href="http://www.dieselbombers.com/About.php">
<img border="0" src="http://www.dieselbombers.com/images/infoabout24.png" width="24" height="24" alt="About Us"></a><if condition="$show['member']"> <a target="_self" href="http://www.dieselbombers.com/search.php"><img border="0" src="http://www.dieselbombers.com/images/find24.png" width="24" height="24" alt="Search The Forums"></a>
<a target="_self" href="http://www.dieselbombers.com/all_albums.php">
<img border="0" src="http://www.dieselbombers.com/images/pictures24.png" width="24" height="24" alt="All Photo Albums"></a>
<a target="_self" href="http://www.dieselbombers.com/awc_ds.php?do=donation"><img border="0" src="http://www.dieselbombers.com/images/money24.png" width="24" height="24" alt="Make a Donation "></a>
<a target="_self" href="http://www.dieselbombers.com/usercp.php">
<img border="0" src="http://www.dieselbombers.com/images/configure24.png" width="24" height="24" alt="Edit Your Settings"></a><font size="2">
<a target="_self" href="http://www.dieselbombers.com/search.php?do=getnew"><img border="0" src="http://www.dieselbombers.com/images/chat24.png" width="24" height="24" alt="See All The Newest Posts"></a></font></if>
<if condition="$show['registerbutton']">
<a target="_self" href="http://www.dieselbombers.com/register.php"><img border="0" src="http://www.dieselbombers.com/images/adduser24.png" alt="Join The Bombers" width="24" height="24"></a></td></if>
<td align="center" background="http://www.dieselbombers.com/images/bg.gif" valign="top" height="30" width="28%">
<p style="padding-top: 0px; ">
<select name="networkbar" onChange="MM_jumpMenu('window.open()',this,1)" class="networkbarselect">
<option value="javascript://" selected>Diesel Bombers Sites</option>
<option value="http://www.thedieselclassifieds.com">The Diesel
Classifieds</option>
<option value="http://www.dieselbookmarks.com">Diesel Bookmarks</option>
<option value="http://www.cafepress.com/DieselBombers">Bomber
Gear</option>
<option value="http://www.dieselswag.com">Diesel Swag</option>
<option value="http://www.youtube.com/DieselBombers">YouTube
Video Channel</option>
</select></p>
<td align="right" background="http://www.dieselbombers.com/images/bg.gif" width="42%">
<form action="http://www.google.com/cse" id="cse-search-box" target="_blank">
<div>
<input type="hidden" name="cx" value="partner-pub-6341648289900751:8xsfhg-bh1k" />
<input type="hidden" name="ie" value="ISO-8859-1" />
<input type="text" name="q" size="31" />
<input type="submit" name="sa" value="Search" style="font-family: Verdana; font-weight: bold" /> </div>
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
</td>
</tr>
</table>
I want it to show on top of every page , i have the conditionals set for guest/member
--------------- Added 1215408358 at 1215408358 ---------------
I have stuck it in there manually on the header templete , i want to call it so it dont show up to SEO bots and slow down page loads ,
It should be in header includes maybe?
Thanks For any help
headernav
i put $headernav in my header above <--logo--->
but its not showing it
Please help i dont really know what im doing
here is my code
<style type="text/css">
<!--
.networkbarselect {
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
color: #333333;
width: 200px;
background-color: #F2F2F2;
}
.toolbarlink A{
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 11px;
color: #333333;
}
.toolbarlink A:hover{
color: #222222;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<table width="100%" height="30px" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="http://www.dieselbombers.com/images/bg.gif" width="29%">
<p style="margin-top: 0px; margin-bottom: 5px">
<font face="Verdana"><b>
<font size="2">
</font></b></font>
<a target="_self" href="http://www.dieselbombers.com">
<font size="2">
<img border="0" src="http://www.dieselbombers.com/images/home24.png" width="24" height="24" alt="Go To The Home Page"></font></a>
<a target="_self" href="http://www.dieselbombers.com/About.php">
<img border="0" src="http://www.dieselbombers.com/images/infoabout24.png" width="24" height="24" alt="About Us"></a><if condition="$show['member']"> <a target="_self" href="http://www.dieselbombers.com/search.php"><img border="0" src="http://www.dieselbombers.com/images/find24.png" width="24" height="24" alt="Search The Forums"></a>
<a target="_self" href="http://www.dieselbombers.com/all_albums.php">
<img border="0" src="http://www.dieselbombers.com/images/pictures24.png" width="24" height="24" alt="All Photo Albums"></a>
<a target="_self" href="http://www.dieselbombers.com/awc_ds.php?do=donation"><img border="0" src="http://www.dieselbombers.com/images/money24.png" width="24" height="24" alt="Make a Donation "></a>
<a target="_self" href="http://www.dieselbombers.com/usercp.php">
<img border="0" src="http://www.dieselbombers.com/images/configure24.png" width="24" height="24" alt="Edit Your Settings"></a><font size="2">
<a target="_self" href="http://www.dieselbombers.com/search.php?do=getnew"><img border="0" src="http://www.dieselbombers.com/images/chat24.png" width="24" height="24" alt="See All The Newest Posts"></a></font></if>
<if condition="$show['registerbutton']">
<a target="_self" href="http://www.dieselbombers.com/register.php"><img border="0" src="http://www.dieselbombers.com/images/adduser24.png" alt="Join The Bombers" width="24" height="24"></a></td></if>
<td align="center" background="http://www.dieselbombers.com/images/bg.gif" valign="top" height="30" width="28%">
<p style="padding-top: 0px; ">
<select name="networkbar" onChange="MM_jumpMenu('window.open()',this,1)" class="networkbarselect">
<option value="javascript://" selected>Diesel Bombers Sites</option>
<option value="http://www.thedieselclassifieds.com">The Diesel
Classifieds</option>
<option value="http://www.dieselbookmarks.com">Diesel Bookmarks</option>
<option value="http://www.cafepress.com/DieselBombers">Bomber
Gear</option>
<option value="http://www.dieselswag.com">Diesel Swag</option>
<option value="http://www.youtube.com/DieselBombers">YouTube
Video Channel</option>
</select></p>
<td align="right" background="http://www.dieselbombers.com/images/bg.gif" width="42%">
<form action="http://www.google.com/cse" id="cse-search-box" target="_blank">
<div>
<input type="hidden" name="cx" value="partner-pub-6341648289900751:8xsfhg-bh1k" />
<input type="hidden" name="ie" value="ISO-8859-1" />
<input type="text" name="q" size="31" />
<input type="submit" name="sa" value="Search" style="font-family: Verdana; font-weight: bold" /> </div>
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
</td>
</tr>
</table>
I want it to show on top of every page , i have the conditionals set for guest/member
--------------- Added 1215408358 at 1215408358 ---------------
I have stuck it in there manually on the header templete , i want to call it so it dont show up to SEO bots and slow down page loads ,
It should be in header includes maybe?
Thanks For any help