Tagged: form, Front End, media upload field
- This topic has 5 replies, 3 voices, and was last updated 6 years ago by
jivedig.
-
AuthorPosts
-
-
January 23, 2016 at 4:31 pm #5699
jivedigMemberMy first post! New to Piklist, but years deep in ACF/CMB2. I’m becoming a convert 😉
I have a front end form to create a CPT. All works fine, including setting a featured image. The only thing not working is file upload field validation and default WP media uploader.
My field is:
piklist('field', array( 'type' => 'file', 'scope' => 'post_meta', 'field' => '_thumbnail_id', 'label' => __('Featured Image','piklist'), 'options' => array( 'modal_title' => __('Add File(s)','piklist'), 'button' => __('Add','piklist'), ), 'validate' => array( array( 'type' => 'limit', 'options' => array( 'min' => 1, 'max' => 1, ), ), array( 'type' => 'image', ), ), ));It’s still showing the basic uploader and it’s still allowing me to upload zip and php (non-image) files.
I’m using version 0.9.9.7
Thanks! -
January 23, 2016 at 10:47 pm #5702
SteveKeymaster@jivedig– Welcome all ACF/CMB2 converts!
Seriously, welcome to the Piklist community. Currently, only the basic file upload field can be used on front-end forms. We have not brought the media uploader to the front yet.
We were able to verify the image validation bug you found. We’ll work on getting it fixed for the next version of Piklist.
-
January 31, 2016 at 2:40 pm #5804
gfardMemberDear Steve and jivdig,
I am in the process of learning this new framework and to make a small pilot for my thesis of my university and to present this to my fellow students.
I read that it is not possible to upload media files from front-end.– Would you mind proposing any possible solution or plugin for this issue until you update your framework?
-For example is this possible with an Form wordpress plugin like Gravity Forms, to create Custom Posts, created by Piklist?Thanks a lot for your time.
-
January 31, 2016 at 7:35 pm #5807
jivedigMember@gfard: Front end posting and editing of Custom Post Types via Piklist is 100% working in the latest version of Piklist trunk. I seemed to have uncovered a minor bug in custom validation with the image field, but I definitely have an image field mapped to the CPT featured image, and it’s working well.
-
January 31, 2016 at 8:18 pm #5811
gfardMember@jivedig Thanks for your answer!
I am trying to learn how to use this framework but I am struggling from the basics.-Are you aware of any plugin for creating templates quick and it works well with Piklist?
-Perhaps Visual Composer for example?Kind regards,
George!-
February 1, 2016 at 11:41 am #5815
jivedigMember@gfard Piklist is def a developer framework, though it seems to be made in a way that makes it really fast to setup powerful stuff with minimal code. Activating the demos included in Piklist was really helpful for me to get a head start on building specific metaboxes/forms/etc.
If you’re not a coder, i’m not sure what to recommend. Maybe wait until the GUI inteface plugin is complete. That may help you. But, even if you have a UI for building forms/metaboxes, you’ll still need to code to display that data how you want, for the most part.
-
-
-
AuthorPosts
- You must be logged in to reply to this topic.