• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to 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

Status
Not open for further replies.

TheJackArmy

New 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?
 
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
 
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).
 
Status
Not open for further replies.

Similar threads

Replies
0
Views
967
Back
Top