Viewing 10 reply threads
  • Author
    Posts
    • #6795

      Hullo there, I’m running Piklist 0.9.9.9. I had tabs working earlier in version 0.9.4.31 however now the are not. Well, I’ve tried re-doing the entire thing since I already had my settings files but still they don’t appear even though I follow the documentation step-by-step to make it happen. I’ve tried removing all tab related parameters from the comment block of all settings files and only left them on two as the documentation directs but still the tabs won’t appear. All that Piklist does is to show all my settings fields on the same long page instead of place each setting file under a defined tab. What do I do about this coz I’m I’ve failed to make it work even with the documentation. In addition to that, even the demo won’t disable. When I go the Piklist menu > Addons and then click on the disable button and then click ‘Save settings‘, nothing happens. The disable button does not change state to show activate and simply remains as it were with the demos still active and the notice that says “Piklist Demos are activated.
      Demos should only be used as a resource, and turned off during normal website operation.” still shows. What do I do for these problems?

    • #6797

      Ok. This is a follow-up on the matter about tabs. I don’t think this is the right way to do it because what is described in the Piklist documentation is a different thing altogether. The tabs wouldn’t show up as long as I specify the same value for the Setting parameter in the comment block like the one specified in the Setting parameter of the $page array of the piklist_theme_setting_pages function. However, when I instead use the specified menu_slug of the piklist_theme_setting_pages function as the value for the Setting paramenter of in the comment block of the settings file that I want to place in another tab, it works perfectly. Now I believe this is not how it’s meant to be if it’s described otherwise in the documentation. The official Piklist documentation indicates that value specified in the Setting parameter of the settings file should be identical to that specified in the setting parameter of the piklist_theme_setting_pages function. In case you change the implementation to meet the description of the official documentation, please let us know before things break so badly. For now, I’ll use my discovery to get things work.

    • #6798

      Another follow-up on the matter. I’m getting an error that says:
      Notice: Undefined index: layout in C:\xampp\htdocs\lawyeah\wp-content\plugins\piklist\includes\class-piklist-workflow.php on line 594. The other thing is that the fields i.e., text fields, colorpickers, selects that are on the various settings files are no longer showing much as the tabs are working perfectly. In other words, it’s only the title of the tab that shows up and not the actual fields themselves. What could be cause this issue? How can I fix it?

    • #6810
      Steve
      Keymaster
    • #6823
      cyclissmo
      Member

      The tutorial is somewhat ambiguous towards tabs for settings – in fact, it says Workflows are for Posts and Users. I haven’t been able to get tabs for Settings to work in 9.9 either 🙁

    • #6826
      Steve
      Keymaster

      @cyclissmo– zip up your Piklist plugin or theme and email to [email protected] and we’ll take a look at it.

    • #6838
      cyclissmo
      Member

      Thank you Steve for offering to look over my code. I was able to get Settings Tabs to work 🙂

      What didn’t work was using the setting name for the Page parameter in the comment block.

      To make Settings Tabs work, use the menu_slug value (from the new settings page parameters) for the Page parameter in the Workflow Heading page’s comment block.

    • #6845
      Steve
      Keymaster

      @cyclissmo– Thanks for letting us know. I made a changed to the docs page >

    • #6861
      mcmaster
      Member

      Thank you for this information, @cyclissmo. I think this will also solve the problem I reported 3 weeks ago in https://piklist.com/support/topic/tabs-not-working-in-settings/.

    • #6866
      ralmestro
      Member

      Thanks, for the info @cyclissmo.

      Using this info I find the solution to solve this problem https://piklist.com/support/topic/repeated-tabs-in-workflow-settings-v0-9-9-8/#post-6643 (I reported a few weeks ago), to solve the problem the menu_slug value can’t be the same as setting value (in settings page parameters).

      Thanks

    • #6883
      Steve
      Keymaster

      @ralmestro– I don’t think that’s true. In the built-in demos, both the menu_slug and setting parameter are the same and it works fine.

Viewing 10 reply threads
  • You must be logged in to reply to this topic.