Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
To show the sub-fields in a cloneable group, please follow this example https://docs.metabox.io/extensions/meta-box-group/#examples.
Refer to this topic https://support.metabox.io/topic/querying-nested-group-values-from-a-relationship/.
Long Nguyen
ModeratorHi Alessandro,
Thanks for your feedback.
Updating the date field with the option
'timestamp' => truevia REST API seems not working. Please turn it off and re-update, I will inform the development team to check on this case.Long Nguyen
ModeratorHi,
Please share your site credentials via this contact form https://metabox.io/contact/. I will help you to check this issue.
Long Nguyen
ModeratorHi Jackky,
You can use the function gettext to make the validation message translatable.
https://docs.metabox.io/validation/#validation-with-jquery-validation-plugin// This is a part of the meta box settings 'validation' => [ 'rules' => [ 'field_id' => [ 'required' => true, 'minlength' => 7, // More rules here ], // Rules for other fields ], 'messages' => [ 'field_id' => [ 'required' => __( 'Password is required', 'text-domain' ), ], ], ],You can also enqueue more custom JS file with this action hook rwmb_enqueue_scripts. See more here https://github.com/wpmetabox/meta-box/blob/master/inc/validation.php.
Long Nguyen
ModeratorHi,
Please follow this document of Twig to show the date format https://twig.symfony.com/doc/3.x/filters/date.html.
March 23, 2021 at 11:04 AM in reply to: ✅Tag Archive - my view gets ignored when rendering "Only the post content area" #26600Long Nguyen
ModeratorHi,
It works perfectly as you said. If you choose
Render for: Only the post content areaandPosition: Replaces the post content, on the tag archive page, other elements of the theme support like featured image, post title, date, author ... still keep up and only post content will be replaced.If you want to replace the main content area with the grid and keep the sidebar, you can use
Render for: The layout between header and footerand add this code to show the sidebar as well{{ mb.get_sidebar() }}.Or use
Type: Custom (via Shortcode)then add the shortcode[ mbv id="12345" ]to your Grid plugin.Long Nguyen
ModeratorHi,
Currently, the View only supports showing 10 first items of the location to avoid loading all items (thousand of posts) on the first load. You can type some characters/words to get more suggestion items.
Long Nguyen
ModeratorHi Martin,
To get the user meta, please follow this documentation https://docs.metabox.io/extensions/mb-user-meta/#getting-field-value.
And to get the value of a key, you have to wrap the key in the single quote
$group_pet_detail['pets_number'].March 22, 2021 at 9:53 PM in reply to: ✅Notice: Undefined index: to in normalizer.php on line 84 #26593Long Nguyen
ModeratorHi,
Thank you for your feedback.
Can you please let me know which version of Facet and MB Relationships you are using? And how can I reproduce the issue?
Long Nguyen
ModeratorHi,
It looks like the issue on this topic https://support.metabox.io/topic/wysiwyg-editor-not-working-correctly/.
Please make sure that all MB plugins are up to date and do the step Debugging Information https://support.metabox.io/topic/how-to-create-a-new-topic/.
Let me know how it goes.
Long Nguyen
ModeratorHi Igor,
You can use the helper function rwmb_meta() to get the field value base on the obra ID. For example
{{ mb.rwmb_meta( 'field_id', '', post.obra.ID) }}Long Nguyen
ModeratorHi,
Thank you for your feedback.
Currently, the sub-field password in a group will be saved raw value (text only) in the database, not as the top-field.
I will inform the development team to consider supporting this case in future updates.
Long Nguyen
ModeratorHi,
Thank you for reaching out.
The Meta Box and MB extension plugins are very powerful tools to create your site in any way you want. But you need to have some basic knowledge about coding to use and apply all features to your site.
Follow your question, I see you will need the documentation of MB Relationships to create connections between post types and MB Views to create templates without touching the theme files.
https://docs.metabox.io/extensions/mb-relationships/
https://docs.metabox.io/extensions/mb-views/#video-tutorialLong Nguyen
ModeratorHi Igor,
After installing that plugin, you need to register the meta box by coding as on the documentation https://docs.metabox.io/creating-meta-boxes/.
See the example code which he created https://github.com/badabingbreda/field-text-multimask#example.
Long Nguyen
ModeratorHi Martin,
You can just follow the documentation to get the sub-fields value https://docs.metabox.io/extensions/meta-box-group/#getting-sub-field-values.
For example, the returned value when using the helper function to get
group_pet_detailsis an array with this structure.array( 'pets_number' => 'value', 'group_pet' => array( 0 => array( 'pet_name' => 'value', 'pet_photo' => 'value' ), 1 => array( 'pet_name' => 'value', 'pet_photo' => 'value' ... ), ... ) )Hope that makes sense.
-
AuthorPosts