Forum Replies Created
-
AuthorPosts
-
SteveKeymaster
SteveKeymaster
SteveKeymasterYes. You can make your own and define it that way. But Piklist already has a field template for what you what.
'template'=> 'field'
SteveKeymasterFixed in v1.6.1. Thanks!
SteveKeymaster@leonardotessaro– Thanks for the fix! We’ll review.
SteveKeymasterI believe the custom fields metabox only shows text-type values. When you saved the field with your original configuration it was saving as an array. With the configuration I suggested you should see the data in the custom fields meta box.
SteveKeymaster@tcarney– Welcome to the Piklist community!
Currently, this is not possible. Here are a few ideas:
1)) Use the Piklist Workflow system. They choose options on one Workflow tab, and then the second Workflow tab displays them using standard PHP conditions.
2) Let the condition show a message that tells the users to save the page, and then display the meta boxes using standard PHP conditions.
Let us know if you need help with either of these.
SteveKeymaster@ndbe– Welcome to the Piklist community!
1) When you set the field (i.e.
'field' => 'test_field') in a group field, you are telling Piklist you want the other fields to be placed in an array of the main field. Yes… that sounds pretty tricky. The easiest thing to do is just remove'field' => 'test_field', and you should be able to get the other fields usingget_post_metaas individual fields.2) Your metabox doesn’t look standard because you turned that feature off. In the comment block you set
Meta box: false. Just remove that and all will be good.Let us know if you need any more help
SteveKeymaster@vgrch– Welcome to the Piklist community!
Glad you were able to solve your issue. Piklist does everything the WordPress way so getting meta created by Piklist is the same as getting standard meta.
Closing this ticket.
SteveKeymaster@svengraziani– Welcome to the Piklist community!
I tested your code with a simple choices array, since I didn’t have $cct_select and $modules_select, and it worked fine for me. I’m guessing the arrays you are passing through for the choices is not setup correctly. Feel free to post that code and we’ll get it working for you.
SteveKeymaster@church– Piklist creates a custom table for this: wp_piklist_cpt_relate. I suggest basing your code off our standard relate field.
SteveKeymasterIf you go to Piklist Settings you can manually activate the meta query improvements. We would be curious what you thought.
SteveKeymasterGreat. Closing ticket.
SteveKeymaster@church– Welcome to the Piklist community!
I just emailed you our latest beta and instructions on how to create your own field. Let us know how that works for you.
-
AuthorPosts