- This topic has 8 replies, 5 voices, and was last updated 5 years, 3 months ago by
Jason.
-
AuthorPosts
-
-
February 21, 2016 at 2:55 pm #5978
tiberiurMemberHi guys,
First of all, Piklist rocks! I’m facing with some issue on file/upload_media field.
1) When you delete all items from gallery, it still remains an empty string instead of NULL
array(1) { [0]=> string(0) “” }With the basic file type, it’s work well.
2. You make a condition for file field based on select field. You upload some picture and then you hide the file field. All string become empty and remains there.
I use metaboxes on pages.
Thanks,
-
February 21, 2016 at 6:25 pm #5980
tiberiurMemberI’ve updated my plugin to v0.9.9.6.
Love the new way with workflow tabs configuration.
Another issue with repetitive widget groups was solve, that’s impressive.About initial described issue, now I can’t delete the last image. I’ve tried to do that directly from Custom Fields panel, but when I’ve updated my post, the field appeared again but with no value (as empty string).
Thanks!
-
February 21, 2016 at 11:07 pm #5982
-
February 22, 2016 at 12:01 pm #5984
tiberiurMemberA video is worth 10.000 words.
1) First issue: https://dl.dropboxusercontent.com/u/10268282/ShareX/2016/02/2016-02-22_17-52-54.mp4
2) Conditional issue: https://dl.dropboxusercontent.com/u/10268282/ShareX/2016/02/2016-02-22_17-56-17.mp4My code snippet:
piklist('field', array( 'type' => 'select' ,'field' => 'page_hero_show' ,'label' => 'Use hero?' ,'choices' => array( 'show' => 'Yes' ,'hide' => 'No' ) )); piklist('field', array( 'type' => 'file' ,'field' => 'page_hero' ,'label' => __('Images', 'plugin') ,'description' => 'You can add as many images as you want, and they can be drag-and-dropped into the order that you would like them to appear.' ,'conditions' => array( array( 'field' => 'page_hero_show' ,'value' => 'show' ) ) )); -
September 26, 2016 at 10:25 am #7393
zsoltrMemberI have the exact same problem with the ‘file’ field. Upload 3 images try to delete them and you will end up with one of the images in the gallery and you cannot delete it. If you delete it simultaneously using also the custom field editor and save it, you will end up with an empty string.
-
October 10, 2016 at 11:43 pm #7420
SteveKeymasterThis is a known issue and should be addressed in the next major version of Piklist.
-
October 14, 2016 at 2:14 pm #7432
eddie2390ParticipantI have this problem :/
When will the upgrade?
-
October 14, 2016 at 2:14 pm #7433
eddie2390ParticipantAny temporary solution?
-
November 11, 2016 at 1:31 pm #7522
JasonKeymasterThe most reliable way of fixing this is to use remove_post_type_support to remove the
custom-fieldsfeature for the page/post post types. Also, make sure not to add that for your own custom post types. It’s problematic with Piklist as it writes over the meta immediately after Piklist writes to it.
-
-
AuthorPosts
- You must be logged in to reply to this topic.