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

Unmaintained How to use tabs to separate your add-on options

I'll teach you how to separate your add-ons options using tabs.

  1. Fuhrmann

    Fuhrmann Well-Known Member

    Mirovinger and infis like this.
  2. Allan

    Allan Well-Known Member

    Thank you for this tutorial @Fuhrmann :)

    One question, where put this ?

    Code:
    <li id="#1" class="profileContent">EXAMPLE OPTION 1<li>
    <li id="#2" class="profileContent">EXAMPLE OPTION 1<li>
     
  3. Fuhrmann

    Fuhrmann Well-Known Member

    You need to create it in the admin templates section.AdminCP -> Development -> Admin Templates and click in the + Create Admin Template button:

    Template Name: OptionsAsTabs
    Content: The content of your template. (the content is in the tutorial)
     
    Allan and Luis like this.
  4. JohnSmith001

    JohnSmith001 Member

    Do you have a completed addon you can share? I'm not comfortable making one.
     
  5. JordanH

    JordanH Well-Known Member

    Does not seem to be working for me. The tab options do not show up.

    Edit:
    NVM, my own stupidity. Working as intended! Awesome!!
     
    Last edited: Dec 8, 2016
  6. Cylent1

    Cylent1 Active Member

    Is it possible for this to be done in the Style Properties instead?
     

Share This Page