1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed Navigation Tab Position

Discussion in 'Sportsbook Resolved Bug Reports' started by TheJackArmy, Nov 28, 2014.

  1. TheJackArmy

    TheJackArmy Member AMS Premium Sportsbook

    The choice of having the Nav Tab at Home, Middle or End doesn't seem to be working.

    I have my position set to End yet it shows up before my Members Tab when it should after fine tuning the code event listeners be showing up after Prediction League.

    upload_2014-11-29_2-53-17.png

    I've checked my navigation template and members tab is correct in there between extra tabs middle and extra tabs end.

    Any suggestions, is it worth modifying the Template.php in the Listeners folder?
     
  2. Bob

    Bob Developer Staff Member

    whoops... that's what I get for trying to do too much at once :( Its using another addon's option instead of its own. You can correct this via a file edit.

    edit the file: /library/NFLJ/Sportsbook/Listener/Template.php

    Find at the bottom of the file this code snippet:

    PHP:
                $extraTabs['sportsbook'] = array(
                    
    'title' => new XenForo_Phrase('nflj_sportsbook'),
                    
    'href' => XenForo_Link::buildPublicLink('full:sportsbook'),
                    
    'position' => $options->scNavTabPosition,
                    
    'linksTemplate' => 'nflj_sportsbook_tab_links'
                
    );
    FIND: scNavTabPosition

    CHANGE TO: sbNavTabPosition
     
    TheJackArmy likes this.
  3. TheJackArmy

    TheJackArmy Member AMS Premium Sportsbook

    Cheers @Bob worked perfectly.
     
    Bob likes this.
  4. Bob

    Bob Developer Staff Member

    For anyone else that runs into this, you can either apply the above change manually, or re download the the latest version again and upload the files (or just the one file).
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.