1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remove member and help links

Discussion in 'Styling and Customization Questions' started by LPH, May 21, 2012.

  1. LPH

    LPH Well-Known Member

    What is the best method for removing these two links in the navigation template ?
     
  2. ragtek

    ragtek Guest

  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Admin CP -> Appearance -> Templates -> EXTRA.css

    Code:
    .navTabs .navTab.members,
    .navTabs .navTab.help
    {
    	display: none;
    }
    
    edit - ninjaaaaa
     
  4. LPH

    LPH Well-Known Member

    Thank you both. CSS worked.

    Can't believe I searched and there were two threads! :(
     
  5. Chris D

    Chris D XenForo Developer Staff Member

  6. Travis

    Travis Active Member

    question. How would I hide the gallery tab? I tried the steps above replacing members with gallery,but no luck.
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  8. Travis

    Travis Active Member

  9. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Your gallery tab is bugged:

    Code:
                    <li class="navTab $extraTabId Popup PopupControl PopupClosed">
                
                    <a href="index.php?useralbums/" class="navLink">Gallery</a>
                    <a href="index.php?useralbums/" class="SplitCtrl" rel="Menu"></a>
                    
                    <div class="Menu JsOnly tabMenu">
                        <div class="primaryContent menuHeader">
                            <h3>Gallery</h3>
                            <div class="muted">Quick Links</div>
                        </div>
                        <ul class="secondaryContent blockLinksList">
        <li><a href="index.php?useralbums/create">Create Own Album</a></li>
        <li><a href="index.php?useralbums/own">View own albums</a></li>
    </ul>
                    </div>
                </li>
    
    It looks like your custom navigation template is missing some curly brackets:

    Admin CP -> Appearance -> Templates -> navigation

    Make sure this code is correct (as shown in this bug report):

    http://xenforo.com/community/threads/extratabid-missing-from-nav-tab.25643/

    I don't see an Applications tab on your forum.
     
  10. Travis

    Travis Active Member

    I'm really confused. Where do I add this to the template? at the end?
     
  11. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You can just revert the template to fix it. But if you want to save your customizations then you need to fix the code (replace $extraTabId with {$extraTabId}).
     
  12. Travis

    Travis Active Member

    ok.I reverted the template,but now my site is screwed...I'm using flexile.
    Screen Shot 2012-05-26 at 5.31.47 PM.png
     
  13. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Flexile is a highly customized style. You should contact the author of that style about this bug.

    In the meantime I can manually fix your template if you give me a URL and admin login to your forum. But I am away from my computer for like 18 hours starting now.
     
  14. Travis

    Travis Active Member

    ok.I have reimported the styles,which fixed the screwed up forum. Now I just have to work out this extratabID thingy....I'm going to have a play. I want to get this sorted. I appreciate your help (just a pity your going out! lol :) )
     
  15. Travis

    Travis Active Member

    If I message you a login,could you take a look please?
     
  16. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Yep.
     
  17. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Fixed.

    Now you need this:

    Admin CP -> Appearance -> Templates -> EXTRA.css

    Code:
    .navTabs .navTab.useralbums,
    .navTabs .navTab.forms
    {
    	display: none;
    }
    
     
  18. Travis

    Travis Active Member

    Thank you so much! :)
     
  19. DRE

    DRE Well-Known Member

    When I hide Help tab with this:

    Code:
    /* no Help tab in navbar */
    li.navTab.help{
    display: none;
    }
    It looks like this when I click on Help (I put the Help link in my footer)

    Screen Shot 2013-04-29 at 5.42.41 PM.png
     
  20. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That's what happens when a page is assigned to a tab that doesn't exist (because you removed it).

    I suggest hiding the tab when it's not selected:

    http://xenforo.com/community/threads/move-menu-items.20654/#post-263851

    Or assign those pages to a different tab with a file edit:

    http://xenforo.com/community/thread...which-default-to-forum-tab.30502/#post-352357

    Or you can use this addon:

    http://xenforo.com/community/resources/nodes-as-tabs.9/

    The latest 1.1.3 update supports changes to tab assignments via link-forums.
     
    DRE likes this.

Share This Page