Forum Replies Created
-
AuthorPosts
-
October 9, 2023 at 9:55 PM in reply to: ✅content of text fields fields disappears, can't edit custom fields #43470
Peter
ModeratorHello,
1. You can check the option "Save field value" if it is disabled. If yes, please enable it and recheck this issue. See this screenshot https://monosnap.com/file/boUvSTyR4Kmm5Ls0wmDiELKehY7Lkb
2. You can click on the white-space area to collapse/reveal each field. Hovering over each element will display the description when you click on it. Screenshot
https://monosnap.com/file/SQ3QMIVocN7AYJxV1KJ7osQzA42noxOctober 9, 2023 at 9:34 PM in reply to: ✅differentiate type=text and type=taxonomy when using the same id #43469Peter
ModeratorHello,
If you have two fields with the same IDs on one editing page, the second field value will be saved and the first one will display the value of the second field. It is expected and we've also noted in the documentation https://docs.metabox.io/field-settings/
ID id Field ID. Required and must be unique.
You should have different field IDs for text and taxonomy fields.
October 9, 2023 at 6:42 PM in reply to: ✅pattern validation for all small text, smalltext with prefix #43466Peter
ModeratorHello,
You can refer to this topic to get the pattern to validate the domain input.
https://stackoverflow.com/questions/58070841/pattern-in-html5-input-type-url-validationPeter
ModeratorHello,
I run your code on the local host and see the new field value is added to the database as well. If you want to display the field, please create a new field in the field group with the same ID.
October 9, 2023 at 6:17 PM in reply to: Generate a custom field as add of two other text custom fields and times #43464Peter
ModeratorHello,
You can use the action hook
rwmb_after_save_postorrwmb_after_save_fieldto update a field value after saving. Refer to the examples in the documentation
https://docs.metabox.io/actions/rwmb-after-save-post/
https://docs.metabox.io/actions/rwmb-after-save-field/October 7, 2023 at 3:33 PM in reply to: Linking Two Custom Post Types in select/dropdown field #43450Peter
ModeratorHello,
If you want to create a custom field in the builder, please follow the documentation https://docs.metabox.io/extensions/meta-box-builder/#adding-your-own-field-types
Note: we do not support the custom code for your specific needs. We support a customization service with an extra fee. Please contact us here for more information https://metabox.io/contact/
Peter
ModeratorHello,
As you can see in the screenshot, the Type and Location of the View is set to Archive page - Evento Archive, then this View only works on that archive page.
If you want to create a View that can be used on any page, please select the Type: Shortcode.
Peter
ModeratorHello,
Thanks for your feedback. I will forward it to the development team to consider supporting this feature in future updates.
Peter
ModeratorYes,
textareais a proper field to add the HTML code. You can also take a look at the sanitization and bypassing it https://docs.metabox.io/sanitization/Peter
ModeratorHello Brandon,
The admin column feature for the relationship is separate and there isn't a filter/action hook to modify this column. You can take a look at the file wp-content/plugins/mb-relationships/inc/relationship/admin-columns.php
Peter
ModeratorHello Fabio,
Can you please share some screenshots of the View content and settings (full screen)?
October 5, 2023 at 9:37 PM in reply to: ✅Field type "POST" that returns post of a custom type created by the same user #43433Peter
ModeratorHello,
You can use the code to register the field and get the current user then assign it to the setting
query_args. For example:add_filter( 'rwmb_meta_boxes', 'callback_function' ); function callback_function( $meta_boxes ) { $current_user_id = get_current_user_id(); $meta_boxes[] = [ 'title' => __( 'My Custom Fields', 'your-text-domain' ), 'id' => 'my_custom_fields', 'post_types' => ['post'], 'fields' => [ [ 'id' => 'funnel_post', 'title' => 'Funnel Post', 'type' => 'post', 'post_type' => 'funnel', 'query_args' => [ 'author' => $current_user_id, ], ], ], ]; return $meta_boxes; }Refer documentation https://docs.metabox.io/fields/post/
https://developer.wordpress.org/reference/classes/wp_query/#author-parametersPeter
ModeratorHello,
If the code is saved properly, you should contact Bricks support if it is not outputted in the front end.
October 5, 2023 at 8:48 PM in reply to: ✅issue using rwmb_frontend_dashboard_delete_action filter to remove delete icon #43428Peter
ModeratorHello,
Yes, it is fixed in the new version of MB Frontend Submission or Meta Box AIO.
October 4, 2023 at 9:33 PM in reply to: Linking Two Custom Post Types in select/dropdown field #43422Peter
ModeratorHello,
It isn't possible with the builder. You can follow the documentation below to create a custom field type (select field) for the "selectable list of the contacts particular to the selected customer".
https://docs.metabox.io/creating-new-field-types/ -
AuthorPosts