Forum Replies Created
-
AuthorPosts
-
dameerMemberThat’s great news! I’m glad to be helpful Jason. Keep up the great work!
December 16, 2016 at 4:01 am in reply to: Workflow Settings ends up with "ERROR: options page not found" on save #7663
dameerMemberFor the sake of good relationship with my clients I decided to switch to Carbon Fields plugin. It’ll take long time to recode all the stuff but that’s something I must do. There’s a great docs behind CF, very few bugs and it’s almost as powerful as Piklist 🙂
Thanks for your time Steve, you are the man, I wish all the best for you and Piklist in the future!December 13, 2016 at 2:35 am in reply to: Workflow Settings ends up with "ERROR: options page not found" on save #7649
dameerMemberAfter a long search I realized where does the error come from… All of WP options/settings must be whitelisted according to codex: https://codex.wordpress.org/Function_Reference/register_setting#Notes . There’s even a filter named “whitelist_options”.
However, I haven’t seen it being used by Piklist in context of Workflow and Settings so it looks like another bug. Hopefully I’m wrong. Docs are incomplete, no support.
Without incomplete documentation, too many bugs, no answers and a bunch of unhappy clients I’ll have to give up. Carbon Fields seems like a decent alternative. I’m desperate.
dameerMemberOMG, Steve is back! I love you man, it’s so good to see you back! 75% of my own clients use Piklist and I was afraid of disaster. Great news, hope we’ll see you here more often!
dameerMemberMaybe I’m missing the point but you should be able to find the answer here:
dameerMemberMaybe I wrote something that I actually shouldn’t so my deepest apologies to Piklist development team. I really want to see it going forward coz there’s no alternative. Agree to whatever fee is needed to help further development.
dameerMemberIt’s kinda late to participate here because with Piklist 0.9.9.9 neither of these functions (and filters) exist:
piklist_get_file_dataandpiklist_add_part
…even though the docs and tutorial (https://piklist.com/learn/doc/hide-meta-boxes-page-template/) relies on it.It’s been a while since Piklist last update and I wonder whether it means the end of this fabulous framework?
Currently I’m sharing the issue with @mcmaster and need to find a proper way to hide metabox for certain (custom) page template. It looks like mission impossible.
By digging into Piklist core files I found 2 filters that kinda make sense:
piklist_part_dataandpiklist_part_addThe first one allows me to append custom data to data array while the second one grabs empty array.
Is there any other filter or method to check for the template being used in the back-end and then conditionally show/hide metabox?
Thanks!
dameerMemberKirki has all this built-in and uses native WP’s customization API.
dameerMemberHopefully you don’t mind…
WordPress uses Customization API for that purpose ( https://codex.wordpress.org/Theme_Customization_API ). If you find it hard to understand or don’t want to “invent the wheel”, Kirki plugin may ease you job significantly. Just go to kirki.org …
dameerMemberGot it finally! The troublemaker in file header is
New: true…which actually is true by default but causes an error.
Strange. It wasn’t the case before.Anyway, hope it helps someone!
dameerMemberHoly smoke, I obviously overlooked that one! And of course, it works now. Thanks a zillion Steve, I appreciate your speedy response.
On a side note, just wanted to say THANKS for all of your efforts in regards to Piklist! Amazing framework, the best I ever met, great documentation and support, everything is just right.
Love ya guys, all the best in 2016!
-
AuthorPosts