Announcement

Collapse
No announcement yet.

Adding new tab next to quick links

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

  • [Forum] Adding new tab next to quick links

    So from what I understand if I want to manually add a new tab next to the quick links then I have to go into the navbar template? well I can't seem where to paste my code, nothing is putting it next to the quick links tab.

    I'll post my navbar template code so you know what mine looks like, and the code that I'm trying to paste is this...{vb:raw vmoods_list}

    HTML Code:
    <div id="navbar" class="navbar">
        <ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify </vb:if>">
    
            {vb:raw template_hook.navtab_start}
            {vb:raw navigation}
            {vb:raw template_hook.navtab_end}
        </ul>
        <vb:if condition="$vboptions['enablesearches']">
            <div id="globalsearch" class="globalsearch">
                <form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search" class="navbar_search">
                    <vb:comment><input type="hidden" name="s" value="{vb:raw session.sessionurl}" /></vb:comment>
                    <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
    
                    <input type="hidden" name="do" value="process" />
                    <span class="textboxcontainer"><span><input type="text" value="" name="query" class="textbox" tabindex="99"/></span></span>
                    <span class="buttoncontainer"><span><input type="image" class="searchbutton" src="{vb:stylevar imgdir_button}/search<vb:if condition="$stylevar['textdirection'] == 'rtl'">_rtl</vb:if>.<vb:if condition="is_browser('ie') AND !is_browser('ie', 7)">gif<vb:else />png</vb:if>" name="submit" onclick="document.getElementById('navbar_search').submit;" 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>
    {vb:raw template_hook.navbar_advanced_search}
    
                </ul>
            </div>
        </vb:if>
    </div>
    </div><!-- closing div for above_body -->
    
    <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>
    
    {vb:raw ad_location.ad_navbar_below}
    {vb:raw ad_location.global_below_navbar}
    
    <vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">
        <form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
            <input type="hidden" name="do" value="dismissnotice" />
            <input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
            <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
            <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
            <input type="hidden" name="url" value="{vb:raw return_link}" />
            <ol>
                {vb:raw notices}
            </ol>
        </form>
    </vb:if>

  • #2
    On the last vBulletin version (4.2) you can add a link or a tab using the Navbar Manager
    vBulletin Services I offer: www.Todo10.com
    Technical vB/Server/Hosting support Service also!

    Comment


    • #3
      No need to edit template anymore. Articles on this is here. https://www.vbulletin.com/forum/cont...gation-manager

      Comment


      • #4
        I thought that the navigation manager was just for the top tabs, forum, whats new, etc. There is a way to add something under those?

        Comment


        • #5
          Yes, you may add tabs under that. If you are trying to add it next to Quick Links, that is a menu that shows up when you have the Forum tab "active". So, go to the Nav Manager and click Forum and you will see all the links 'under' there. Next to Forum, just use the dropdown to Add Link (or menu, if you want a dropdown) and add the link there.

          Please don't PM or VM me for support - I only help out in the threads.
          vBulletin Manual & vBulletin 4.0 Code Documentation (API)
          Want help modifying your vbulletin forum? Head on over to vbulletin.org
          If I post CSS and you don't know where it goes, throw it into the additional.css template.

          W3Schools &lt;- awesome site for html/css help

          Comment

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