Announcement

Collapse
No announcement yet.

Duplicate NavBar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Duplicate NavBar

    I want to add a duplicate navbar to the bottom of each thread, but I want to use a different style/font size compared to the main nav bar template that is on the top of every thread.

    How would I go about doing this. I know I may need to make a duplicate template and reference that along with its own css class, but im unfamiliar with the PHP and the variables such as $show['breadcrumb'] and $navbits[breadcrumb].

  • #3
    Oops I didn't mean NavBar, I mean breadcrumbs the navigation links when in threads. I want to put them at the bottom but using their own style instead of the breadcrumbs that are already at the top of the threads.

    Comment


    • #4
      This is what I use in the FORUMDISPLAY template:
      Code:
      <!-- breadcrumb nav -->
      <table class="transbox" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" 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>&nbsp;</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>
      <br />
      <!-- /breadcrumb nav -->
      And this one in SHOWTHREAD template:
      Code:
      <!-- breadcrumb nav -->
      <br />
      <table class="transbox" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" 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>&nbsp;</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>
      <tr>
      	<td>
      <if condition="$show['next_prev_links']">
      <!-- next-previous links -->
          <div class="smallfont" align="center">
      go to previous or next topic in this forum<br />
              <strong>&laquo;</strong>
                  <a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextoldest" rel="nofollow">$vbphrase[prev_thread]</a>
                  |
                  <a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextnewest" rel="nofollow">$vbphrase[next_thread]</a>
              <strong>&raquo;</strong>
          </div>
      <!-- / next / previous links -->
      </if>
      	</td>
      </tr>
      </table>
      <br />
      <!-- /breadcrumb nav -->
      You can view them live at these 2 links: http://www.thefloorpro.com/community...nates-q-and-a/ (below the thread list) http://www.thefloorpro.com/community...o-corners.html (below the Tags block)

      Note that I also added my own CSS to put the bread crumbs in a bordered box that is transparent. Below is my custome CSS for the breadcrumb.
      Code:
      .transbox {background:transparent;border: 3px double #1C2B3E;}
      Make adjustments for your own use. If you decide to use this, please take note of my signature - I would appreciate it.

      Jim
      If my post was helpful to you, please take the time to register at my forum and ask a question you've always wanted to know about floors.
      www.TheFloorPro.com

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X