Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #2885

      Using Piklist to create a plugin.

      I’m getting a duplicate Basic tab when following the User Guide instructions on https://piklist.com/user-guide/tutorials/adding-tabs-to-your-settings-pages/

      Finding that creating the a file under Settings folder and naming the tab in the header comments:

      Tab: Basic

      Results in a duplicate tab named Basic: One from the settings file and one from the plugin file where I registered the settings and declared the default_tab:

      ,’default_tab’ => ‘Basic’

    • #2886
      Steve
      Keymaster

      @countryipblocks– Welcome to the Piklist community!

      To add fields to your default_tab, do NOT include Tab: Basic in the comment block. Any field files that don’t have the Tab: parameter set will automatically be added to the default_tab.

      If you only have one field file, then Piklist will not create tabs.

      I updated the tutorial to make this clearer.

      Let us know if that helps.

    • #2889

      Thank you!! It worked!

    • #2891
      Steve
      Keymaster

      Great! Let us know is you need anymore help.

Viewing 3 reply threads
  • The topic ‘Duplicate Basic Tab via User Guide: Add Settings Page Tabs’ is closed to new replies.