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.

How can I set "Open" as default.

Discussion in 'Sportsbook Support' started by ineedhelp, Apr 19, 2013.

  1. ineedhelp

    ineedhelp New Member Sportsbook


    which template and what part of the code would I need to edit, to make "Open" the default filter when someone clicks on Sportsbook? At the moment it's Any and this shows all event statuses which can be confusing for new users.

    And if I remove the 'Any' Tab, from the 'nflj_sportsbook_index' template, would everything still work fine?

  2. Bob

    Bob Developer Staff Member

    Its a lot more complicated than a template edit. It requires code changes (to many to list here). Its not something a non developer could easily do. You'd need to know how to code as there are changes in multiple controllers (multiple actions as well) as well as modifications to the event Model.

    As with any customization, you should have a development environment so that you can try things out on your own.
  3. ineedhelp

    ineedhelp New Member Sportsbook

    Can you add an option in ACP which allows Admins to set the default filter? This option will be useful to other forum owners as well.
    mouth likes this.
  4. Bob

    Bob Developer Staff Member

    Ya, thats kinda what my thought process is as well. Can you do me a favor and start a thread in suggestions about adding this functionality?
    ineedhelp likes this.
  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.