Announcement

Collapse
No announcement yet.

Navbar changing question

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

  • Navbar changing question

    Hi,

    I've searched the forum and I've found out how to change the navigation bar to custom buttons but how do I change where the nav bar is?

    Can i put it in my header?

    www.trainhealthy.com

    I want it to be on the right of the logo in the gap, is that possible? HOw do I go about doing it?

    Thanks

  • #2
    You need to just place it in your header template?
    Last edited by Jose Amaral Rego; Thu 29 Dec '05, 11:37am.

    Comment


    • #3
      I tried putting $navbar where I wanted it, but it dodnt work

      Comment


      • #4
        I edited my first post with image attach.

        Comment


        • #5
          I get a thumbnail saying its dimensions :-S

          Comment


          • #6
            All I did was cut/copy the part of navbar template and place it in the header template. If you need color or alignment changes, that is easy enough to do as well.
            Click on image below.

            Click image for larger version

Name:	untitled.PNG
Views:	1
Size:	26.0 KB
ID:	3667836

            Code:
            <!-- nav buttons bar -->
            <div align="center">
            	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
            	<tr align="center">
            		<if condition="$show['member']">
            			<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
            		</if>
            		<if condition="$show['registerbutton']">
            			<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
            		</if>
            		<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
            		<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
            		<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
            		<if condition="$show['popups']">		
            			<if condition="$show['searchbuttons']">
            				<if condition="$show['member']">
            				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
            				<else />
            				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
            				</if>
            				<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
            			</if>
            			<if condition="$bbuserinfo['userid']">
            				<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>		
            			</if>
            		<else />		
            			<if condition="$show['searchbuttons']">
            				<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
            				<if condition="$show['member']">
            				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
            				<else />
            				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
            				</if>
            			</if>
            			<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
            			<if condition="$bbuserinfo['userid']">			
            				<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>			
            			</if>			
            		</if>
            		<if condition="$bbuserinfo['userid']">
            			<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
            		</if>
            	</tr>
            	</table>
            </div>
            <!-- / nav buttons bar -->

            Comment

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