Viewing 3 reply threads
  • Author
    Posts
    • #9077
      Ico
      Member

      Hi,
      After updating to Piklist 0.11.4 the tabs on my settings page disappeared and all the settings are on one page. After researching I noticed that I haven’t defined a workflow, so I defined one.

      functions.php:

      $pages[] = array(
      	 'setting' => 'lc_settings',
      	 'single_line' => false,
      	 'default_tab' => 'Basic',

      parts/workflows/lc-flow.php

      <?php
      /*
       * Flow: LC
       * Page: admin.php, lc_settings
       * Header: true
       * Position: title
       * */

      parts/settings/basic.php

      <?php
      
      /*
      title: Basic settings
      Setting: lc_settings
      Tab: Basic
      Flow: LC
      Tab Order: 1
      */

      There are other tabs, same flow… But still no tabs in the settings page. Anyone have this problem? I tried defining different workflows, but it doesn’t seems to be working.

    • #9078
      Steve
      Keymaster

      @bassta– Sorry you’re having issues with Workflow tabs. I suggest you try matching up what’s in the built-in demos with what you have.

      For instance, you should set a default tab:
      https://piklist.github.io/docs/tutorials/workflows/building-first-workflow/#default

      Let us know what you find.

    • #9079
      Ico
      Member

      Thanks Steve,
      It turns out I didn’t defined proper Tab files ( Only header file ). Now works perfect!

    • #9082
      Steve
      Keymaster

      Great! Closing ticket.

Viewing 3 reply threads
  • The topic ‘[ PL 0.11.4 ] Settings tabs missing even when workflow is defined’ is closed to new replies.