Forum Replies Created
-
AuthorPosts
-
December 1, 2024 at 11:04 PM in reply to: ✅Field group not loading collapsed when editing a front end post #47085
Peter
ModeratorHello Nick,
The setting
save_stateis set totrue, that means will save the state collapse or expand when you save the post. Do you expand the group when saving the post? Please recheck this and let me know how it goes.Peter
ModeratorHello,
There are two cases:
1. Before using the action hook "rwmb_{$field_id}_after_save_field", it won't auto-populate field value by the post status.
2. After using the action hook "rwmb_{$field_id}_after_save_field" to update the post status based on the field value, it will show the field value normally (auto-populate) after saving the post.
Peter
ModeratorHello,
Toolset has several plugins so please ensure the plugin Toolset Types is activated on your site. If the submenu "Toolset Migration" still doesn't display, please share your site admin account by submitting this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello Alessandro,
Please share your site admin account by submitting this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello Angelo,
Do you install and activate the plugin Toolset on your site? Please activate it then the submenu "Toolset Migration" will appear under the Meta Box menu.
Peter
ModeratorHello,
I can see and reproduce the issue. Do you register a custom field with code and add the
columnssetting manually? It is a small issue with the field appearance so I will ask the development team to check and fix this in the next update of the plugin.
You can use the builder to register all fields to have one kind of format.November 29, 2024 at 10:33 PM in reply to: Oxygen Builder does not work when MB AIO is active #47070Peter
ModeratorHello Joe,
The Oxygen team develops and maintains the compatibility feature between Meta Box and Oxygen. It may not work with Meta Box's new updates. I recommend you enable WP debug, contact Oxygen support, and share the error log with them so they can identify the issue and help you fix it.
Please read more about our support policy here https://metabox.io/support/topic/support-policy/
Peter
ModeratorHello Hazmi,
I recheck the feature custom function of the extension MB Include Exclude and it still works correctly. Where do you add the custom function
myFunctionand the code to register the meta box? Please try to add all the code to the file functions.php in the theme/child theme folder and check this again.November 29, 2024 at 10:21 PM in reply to: File Upload Issue: Mandatory 2 Files Requirement Despite Configuration #47068Peter
ModeratorHello,
I cannot reproduce the issue on my demo site. If you set required setting for the file_upload field, it only asks you to upload at least 1 file to save the post.
Can you please recheck all the field settings in the builder or in a custom code on your site? If it still asks to upload 2 files, please share your site admin account by submitting this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello,
Thanks for the details. I also see the data is not inserted into the custom table. There could be an issue with the Rest API and custom table in the new version. I will inform the development team to check and fix it soon.
Peter
ModeratorHello Nick,
You can use a form hook like
rwmb_frontend_after_save_postor the action hookrwmb_{$field_id}_after_save_fieldto update the post status based on the custom field value. Here is an example https://support.metabox.io/topic/controlling-post-status-in-front-end-dashboard/#post-31734Following the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#post-actions
https://docs.metabox.io/actions/rwmb-after-save-field/Peter
ModeratorHello Oskar,
The default number of columns is 12. So the setting won't be generated to the PHP code. Actually, it only works if you change the number of columns to a different from 12 then you can see an additional HTML + column class. I see that it works properly and is not an issue with the columns.
Peter
ModeratorHello Nick,
The field type hidden doesn't have the label, it is different from your custom field where you have the field label and input but can show/hide them. You can follow my suggestion above to create a custom checkbox and show/hide the field by JS code.
If you are not able to complete the task, we offer a customization service. Please contact us here https://metabox.io/contact/ for more details.November 28, 2024 at 10:16 PM in reply to: Multiple custom fields in one post type, how to order them? #47054Peter
ModeratorHello Oskar,
As far as I know, it isn't possible. WordPress itself doesn't support an option to set the order of meta boxes when displaying on the editing page. The user can drag and drop meta boxes to change the order as well.
Peter
ModeratorHello,
Then you can deactivate the Image Optimizer plugin when using the cloneable group on the editing page. I will forward this topic to the development team to check the compatibility between Meta Box and Image Optimizer.
-
AuthorPosts