Announcement

Collapse
No announcement yet.

How do I edit the navigation menu?

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

  • How do I edit the navigation menu?

    How can I create custom buttons and custom text?

    Here is my navigation menu:

    <div id="nav" class="nopad">
    <span id="nav_title">Nav</span>
    <ul>
    <li id="nav1"><a href="$vboptions[forumhome].php$session[sessionurl_q]">Home</a></li>
    <li id="nav2"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></li>
    <if condition="$show['communitylink']">
    <li id="nav3"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></li>
    </if>
    <if condition="$show['member']">
    <li id="nav8"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></li>
    <else />
    <li id="nav8"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></li>
    </if>
    <if condition="$show['searchbuttons']">
    <li id="nav4"><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></li>
    </if>
    <if condition="$show['member']">
    <li id="nav5"><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></li>
    </if>
    <if condition="$show['registerbutton']">
    <li id="nav7"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></li>
    </if>
    <if condition="$show['member']">
    <li id="nav6"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></li>
    </if>
    </ul>
    </div>

  • #2
    Any help please?

    Comment


    • #3
      PM if you need more support....

      Originally posted by CFCParadox View Post
      How can I create custom buttons and custom text?

      Here is my navigation menu:

      <div id="nav" class="nopad">
      <span id="nav_title">Nav</span>
      <ul>
      <li id="nav1"><a href="$vboptions[forumhome].php$session[sessionurl_q]">Home</a></li>
      <li id="nav2"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></li>
      <if condition="$show['communitylink']">
      <li id="nav3"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></li>
      </if>
      <if condition="$show['member']">
      <li id="nav8"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></li>
      <else />
      <li id="nav8"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></li>
      </if>
      <if condition="$show['searchbuttons']">
      <li id="nav4"><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></li>
      </if>
      <if condition="$show['member']">
      <li id="nav5"><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></li>
      </if>
      <if condition="$show['registerbutton']">
      <li id="nav7"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></li>
      </if>
      <if condition="$show['member']">
      <li id="nav6"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></li>
      </if>
      </ul>
      </div>
      Hey Mate, First make sure your in the Navbar.... Which i believe you are...

      Your Navigation Breadcrums looks quiet different to mine...

      But try adding bellow the FAQ
      Code:
      </li>
      <li id="nav2"><a href="URL" accesskey="5">NAME OF URL</a></li>
      - Open in same window..
      Best for Arcade pages and other forum stuff.

      or try
      Code:
      <li id="nav2"><a href="URL" accesskey="5" target="_blank">NAME OF URL</a></li>
      URL = eg: arcade.php or http://www.vbulletin.com/forum/

      NAME OF URL = eg: Arcade or VBulletin

      If this dont work i dont think you are on VBulletin 3.8.5 which is the newest one..

      If you like to upgrade and then just do:

      Style Manager » Navigation / Breadcrumb Templates » Navbar

      Then find:

      Code:
      <td class="vbmenu_control"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
      Then add under it:

      Code:
      <td class="vbmenu_control"><a href="URL" rel="nofollow">NAME OF URL</a></td>
      Your URL as like above for other example and Name of Url the same as above...

      rel="nofollow" is additional and isnt required.

      To add a link under Community for example do:

      Find:
      Code:
          <if condition="$show['communitylink']">
          <!-- community link menu -->
          <div class="vbmenu_popup" id="community_menu" style="display:none;margin-top:3px" align="$stylevar[left]">
              <table cellpadding="4" cellspacing="1" border="0">
              <tr><td class="thead">$vbphrase[community_links]</td></tr>
              $template_hook[navbar_community_menu_start]
              <if condition="$show['quick_links_groups']">
                          <tr><td class="vbmenu_option"><a href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
              </if>
      Under it add:
      Code:
      <tr><td class="vbmenu_option"><a href="URL">NAME OF URL</a></td></tr>
      As same as above for URL and NAME OF URL..

      Hope this comes in handy. Good Luck...

      Comment

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