Forum Replies Created
-
AuthorPosts
-
January 16, 2019 at 12:04 pm in reply to: Organize fields with columns without being in a group? #9297
efegueMemberThank you Steve!
January 3, 2019 at 7:06 pm in reply to: Is it possible to have tabs without reloading the page? #9275
efegueMemberYes, you’re right. I feel dumb for not seeing this.
Thanks 🙂
efegueMemberWill do, Thanks Steve!
efegueMemberOh! I didn’t know about that. That’s awesome, thanks a lot!!
efegueMemberIs there any updates to this? Since this is almost 3 years old.. maybe this was added later on or still not possible?
Thanks 🙂
efegueMemberThis is probably the same problem I had. Events Manager PRO serializes all the meta values, and piklist also does this, so you get a double serialized value.
The solution we found was to unserialized Events Manager serialization for our piklist fields.
Use the hookem_event_save_meta_pre, on this hook check for your field, something like this:function HOOK_FUNCTION_event_save_meta_pre($event) { if (!empty($event->event_attributes['weitere_tage'])) { $event->event_attributes['weitere_tage'] = /* unserialize the value here */; } }Hope it helps!
February 18, 2016 at 6:34 am in reply to: BUG: Group field in custom post type doesn't load properly when editing #5953
efegueMember@bjoerns yup, it’s the same problem. Events Manager serializes all the meta values and piklist is already serializing it, so we get a value that’s double serialized!
I’ll post in your topic, the solution we found, but basically we hook into events manager and unserialize it’s values 🙂
February 11, 2016 at 5:33 am in reply to: BUG: Group field in custom post type doesn't load properly when editing #5908
efegueMemberYeah, the plugin is Events Manager Pro. Maybe piklist could have a “while” when unserializing data, where it would check if the value is serialized or not and while it’s serialized, try to unserialize it.
Even using the individual values, the plugin is serializing all the array and all the fields stay with the same value. If I have
workout_schedule3 times, all the meta values will be a serialized string with the 3 values. I need to find a way to make the plugin not to do this.Thanks for your help!
February 10, 2016 at 1:23 pm in reply to: BUG: Group field in custom post type doesn't load properly when editing #5890
efegueMemberMore findings..
The problem with an event plugin I was using, was because this plugin serializes all meta values that’s in the edit post.
As piklist already serializes the value for a group field, the value of the field is “double” serialized, that’s why it wasn’t loading in the first place.Any ideas on how to circumvent this Steve? I’ll try to exclude the piklist fields from serializing, but not serializing the field in piklist could be an option too, any way to do that?
February 10, 2016 at 12:18 pm in reply to: BUG: Group field in custom post type doesn't load properly when editing #5889
efegueMemberHey Steve!
I’ve digged into this a bit more and found out this issue happens when I use type group and save data as individual meta keys. This is the only case where the fields are saved but are not filled for editing.
I’ve used the addon file wp-content/plugins/piklist/add-ons/piklist-demos/parts/meta-boxes/field-add-more-single-level.php to test this (the one the states “Saves data as individual meta keys”).
Thanks!
February 5, 2016 at 1:58 pm in reply to: BUG: Group field in custom post type doesn't load properly when editing #5855
efegueMemberWill try and report back, thanks!
February 5, 2016 at 1:53 pm in reply to: BUG: Group field in custom post type doesn't load properly when editing #5851
efegueMemberIn this case I didn’t create the custom type, it’s from woocommerce, custom type: product. Any ideas?
February 1, 2016 at 12:35 pm in reply to: Custom admin page for a plugin, menu_slug doesn't work. #5824
efegueMemberOk, will do. Thanks!
February 1, 2016 at 12:17 pm in reply to: Custom admin page for a plugin, menu_slug doesn't work. #5822
efegueMemberLet’s call the main menu “My Plugin” and a submenu “Settings”, creating the menu turns out like this:
My Plugin
– My Plugin
– SettingsJanuary 28, 2016 at 1:34 pm in reply to: Custom admin page for a plugin, menu_slug doesn't work. #5796
efegueMemberLooks like this works if the main menu is a menu created with piklist admin pages. Cool.
Anyway, any chance to hide the “Main menu” from the submenu?
-
AuthorPosts