Tagged: demos disable button not working, demos won't deactivate, tabs, tabs not showing. tabs won't appear, tabs not working
- This topic has 10 replies, 5 voices, and was last updated 5 years, 7 months ago by
Steve.
-
AuthorPosts
-
-
June 24, 2016 at 5:39 am #6795
semwangajoshuaMemberHullo 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? -
June 24, 2016 at 10:10 am #6797
semwangajoshuaMemberOk. 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.
-
June 24, 2016 at 10:59 am #6798
semwangajoshuaMemberAnother 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? -
June 27, 2016 at 11:13 am #6810
SteveKeymaster -
June 27, 2016 at 11:06 pm #6823
cyclissmoMemberThe 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 🙁
-
June 28, 2016 at 11:57 am #6826
SteveKeymaster@cyclissmo– zip up your Piklist plugin or theme and email to [email protected] and we’ll take a look at it.
-
June 28, 2016 at 10:53 pm #6838
cyclissmoMemberThank 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_slugvalue (from the new settings page parameters) for the Page parameter in the Workflow Heading page’s comment block. -
June 29, 2016 at 11:13 am #6845
SteveKeymaster@cyclissmo– Thanks for letting us know. I made a changed to the docs page >
-
June 30, 2016 at 1:02 am #6861
mcmasterMemberThank 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/.
-
June 30, 2016 at 7:14 pm #6866
ralmestroMemberThanks, 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
-
July 5, 2016 at 10:50 am #6883
SteveKeymaster@ralmestro– I don’t think that’s true. In the built-in demos, both the
menu_slugandsettingparameter are the same and it works fine.
-
-
AuthorPosts
- You must be logged in to reply to this topic.