Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello Yasmine,
Can you share a screen record of the issue with validation for the cloneable subfield when you use Meta Box 5.10.1? I test your code on my demo site and the validation (required) works properly for the cloneable subfield, screenshot https://imgur.com/zxjvP8L
Peter
ModeratorHello,
It doesCan you share a screenshot that demonstrates "Elementor supports displaying an external image from the dynamic tag"? Notice the
dynamic tag. And with the widget of Elementor, not a widget from a third-party plugin.Peter
ModeratorHello,
Yes, the frontend validation uses the PHP code to validate the data and it is running in the admin area then sends the result to the frontend.
September 12, 2024 at 10:23 PM in reply to: ✅Field inside a popup not looping through in MB View #46429Peter
ModeratorHello,
First thing, I see the product details are displayed correctly with the Twig code. So it isn't an issue with MB Views, screenshot https://ibb.co/qJns2Px
Second, I use the Inspect tool of the browser and see that the popup element ID isn't correct. It has
${id}variable in the HTML ID, screenshot https://ibb.co/tDnSV8W
you can recheck your code.The last thing, is is a custom code and not an issue of the MB Views plugin itself so this case is beyond our scope of support. If you cannot complete the task, we offer a customization service with an extra fee. Please contact us here for more details https://metabox.io/contact/
Peter
ModeratorHello,
Can you share the access to view the screenshot? And let me know the page that has the frontend form on your site.
September 12, 2024 at 10:02 PM in reply to: Page opens very slowly when accessed to add more entries in the backend #46427Peter
ModeratorHello Dragan,
If you have too many subfields when editing a page, it could slow down a bit to load the field settings. Using the custom table can help you to improve the loading time. You can try to use that feature.
After that, if you still see the page loads very slow, please try to deactivate all plugins except Meta Box, MB extension plugins, switch to a WordPress theme and observe the loading time again.
September 11, 2024 at 11:04 PM in reply to: Validation of date field - same as another date field within a group #46424Peter
ModeratorHello Fredrik,
With PHP code, you can use the filter hook
rwmb_after_save_fieldto validate the field value.
https://docs.metabox.io/actions/rwmb-after-save-field/With Javascript code, you need to create a custom code to check the two field values. Meta Box only supports validating for a single field with code. Refer documentation
https://docs.metabox.io/validation/September 11, 2024 at 10:56 PM in reply to: metabox block category null in WP_Block_Type_Registry #46423Peter
ModeratorYou can try to deactivate all plugins except Meta Box, MB extension plugins, switch to a WordPress theme and check this issue again.
Peter
ModeratorHello,
I can see the issue with the conditional logic on my demo site when running Meta Box AIO 1.30.1. I've escalated the issue to the development team to check it, I will get back to you later.
Peter
ModeratorHello Kyle,
Do you see any Javascript error messages in the Console tab? Also, please export the field group to a JSON file, share it here and let me know how to see the issue. I will help you investigate the issue.
Peter
ModeratorHello,
Does Elementor support displaying an external image from the dynamic tag? If so, you can use this with the Meta Box field URL.
September 11, 2024 at 6:32 AM in reply to: metabox block category null in WP_Block_Type_Registry #46407Peter
ModeratorHello Nick,
I use your code to register a new block category and it appears in the custom block as well. Please check this screenshot https://imgur.com/6nXaoHr
echo "<pre>"; var_dump( WP_Block_Type_Registry::get_instance()->get_all_registered() ); echo "</pre>";Peter
ModeratorHello,
The PHP code always runs in the admin area background to check the validation. If you want to use the PHP validation, you should remove the condition
is_admin()in your code. Otherwise, I'm afraid that there isn't a way to support that case.Peter
ModeratorHello,
If you open the Inspect tool of the browser and check the HTML structure, the index 0 is added to the clone template. And the index 1 is added to the field where you input the value.
This is the new feature of the cloneable field, so please update your code accordingly.September 10, 2024 at 10:50 PM in reply to: Sorting on date in query loop fails in Bricks Builder #46400Peter
ModeratorHello Fredrik,
I'm afraid that it is really hard to do so. The group is used for storing data (sub-fields value) not for querying by sub-fields (sort or filter) value because the value of the group saved in the database is a serialized array.
See more at https://metabox.io/create-group-of-custom-fields-with-meta-box-group/#how-does-the-meta-box-group-save-data.You should use the top field for sorting or filtering the post.
-
AuthorPosts