Forum Replies Created
-
AuthorPosts
-
Tan Nguyen
ParticipantDear Daniel,
Yes, it possible when you combine with MB Geolocation extension, it really flexible also.
Tan Nguyen
ParticipantDear Daniel,
Normally, you export the file from your website and then you can import it to another place. Try exporting a meta box too see the file structure.
Tan Nguyen
ParticipantDear Daniel,
The Builder uses the Meta Box filter to register meta boxes, see:
https://metabox.io/docs/registering-meta-boxes/You don't need to copy code to another place and then disable the builder, feel free to use it as the way you want.
Tan Nguyen
ParticipantDear Internative,
I've double checked the plugin and see that it works properly. Here is my code from the group example:
add_filter( 'rwmb_meta_boxes', 'meta_box_group_demo_register' ); function meta_box_group_demo_register( $meta_boxes ) { $meta_boxes[] = array( 'title' => __( 'Album Tracks' ), 'fields' => array( array( 'id' => 'standard', // Group field 'type' => 'group', // Clone whole group? 'clone' => true, // Drag and drop clones to reorder them? 'sort_clone' => true, // Sub-fields 'fields' => array( array( 'name' => __( 'Genre', 'rwmb' ), 'id' => 'genre', 'type' => 'select_advanced', 'options' => array( 'pop' => __( 'Pop', 'rwmb' ), 'rock' => __( 'Rock', 'rwmb' ), ), ), array( 'name' => __( 'Track name', 'rwmb' ), 'id' => 'text', 'type' => 'text', 'visible' => ['genre', '!=', ''] ), array( 'name' => __( 'Release Date', 'rwmb' ), 'id' => 'date', 'type' => 'date', 'visible' => ['genre', '!=', ''] ), ), ), ), ); return $meta_boxes; }Can you please paste your code here so I can check?
Tan Nguyen
ParticipantDear kagoub,
I've checked and it works properly, here is my screenshot:
Can you please send me your website credentials via email so I can login to check?
Cheers!
Tan Nguyen
ParticipantDear Anthony,
In the latest version, there's a tab which lets you copy the generated code, you can copy and then paste to any place you want.
Cheers!
Tan Nguyen
ParticipantHi,
It works on my PC, did you:
- Use the latest plugins version?
- See any error in the console?Cheers!
Tan Nguyen
ParticipantDear Grafik,
Sorry for long silence, I've tested your code and it works properly. Did you upgraded Conditional Logic to the latest version (1.4.1)?
Also, I see you set:
'id' => "{$prefix}image_layout_post",But
'hidden' => array( 'meta_image_layout_post', '!=', 'full' )Can you please make sure the
$prefixvariable ismeta_?Cheers!
Tan Nguyen
ParticipantDear Web Crossing,
Can you please send me full code. I've tried added your two fields to the example and it works.
https://gist.github.com/anonymous/0c6aad33f510e491dd4604cd1beb74faCheers!
Tan Nguyen
ParticipantYes, it's possible, please check your
$slidersvariable, it should be an array.Cheers!
March 15, 2017 at 11:50 PM in reply to: Cloned group with conditional logic won't work properly #5298Tan Nguyen
ParticipantV1.4.1 bumped! Please update.
March 13, 2017 at 2:52 AM in reply to: Cloned group with conditional logic won't work properly #5256Tan Nguyen
ParticipantDear Internative,
The latest Group version has updated the html output so it breaks my Conditional Logic function. I'll update the Conditional Logic plugin this week.
Best regards,
Tan
Tan Nguyen
ParticipantDear Dave,
Sorry because I don't noticed that you use Include/Exclude with User Meta, currently it doesn't support User Meta. We'll improve it soon.
Cheers!
Tan Nguyen
ParticipantDear Dave,
Yes, all of 'em are Ok, can you please export your meta box and send me via email [email protected]? It's weird because I've tested one more time and it still works.
Tan Nguyen
ParticipantIf you want to hide an element with your checkbox. This also can be done with Conditional Logic extension.
-
AuthorPosts