Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterI haven't encountered that before. Let me check that.
FYI, the whole upload functionality is created by WordPress. We move it to the frontend, but don't touch on the core code.
Anh Tran
KeymasterHi Saqib,
Sorry for the late reply. We're just been back from the Tet holiday. Regarding the bug, I've just tested and the map market is showing:
https://imgur.elightup.com/oPWhPGl.png
Do you see any error in the console? Normally, Google Maps will shows errors in the console of there's any.
By the way, can you send me your meta box code to check?
Anh Tran
KeymasterBy the way, you can do almost what missed with Custom Attributes for fields in the Builder. Please see the docs for that. It’s not intuitive, but works.
Anh Tran
KeymasterHello,
The Builder extension was made 3 yearss ago when the functionality of Meta Box and other extensions are limited. However, its purpose is providing full support for plugins. We have just acquired this extension from the original developer (Tan Nguyen) and thus, are updating it to catch all the changes in other plugins recently.
We understand that there are some features are limited, and we’re trying to fix it. It would be great if you can help us by listing what you see missed.
Regarding the online generator, yes, it’s the limited version of Builder with support only for the core Meta Box plugin. After updating the Builder to fully support other extensions, we’ll probably update it as well, but that’s not the priority.
Anh Tran
KeymasterLet’s close this topic as we have resolved it via email. The problem was that the custom attributes should be set for meta box, not for fields.
Anh Tran
KeymasterThis is the default behavior of the plugin. And unfortunately, we have to follow that 🙁
Anh Tran
KeymasterHi, please use “std” parameter.
Anh Tran
KeymasterHi Hazmi, sorry for the delay in replying.
The
image_advancedfields loads saved value via ajax request, so it takes a little time. Only when it's loaded, the field inputs are added. So, please don't update the post before it finishes loading (in that case all inputs are not fully added, and updating will make the post lost saved values).February 13, 2018 at 10:05 PM in reply to: Conditional logic not working with clones in groups #8545Anh Tran
KeymasterI got it. In this case, please add
'clone_default' => trueto the field and thestdvalue will be cloned, too.Anh Tran
KeymasterHello,
The logic should work. There is just a small typo in your code. In the response, the param should be
idinstead ofid:.However, loading selected posts to show after updating is the next problem. We need to update
optionsparameter to make the field renders properly. So, I added 2 more functions to get the saved data and put them in theoptions:February 13, 2018 at 10:43 AM in reply to: Conditional logic not working with clones in groups #8539Anh Tran
KeymasterI got it. The problem is the cloning "radio" field. I've fixed it here. Please try and let me know how it goes.
Thanks
Anh Tran
KeymasterHi Martin,
Sorry for the confusion. The Builder extension is behind some extensions and we're updating it to catch the others. Specifically:
- The validation module has not yet been added to the Builder. You can do that via the Custom Attributes for meta box (via the Settings tab) like this:
https://imgur.elightup.com/MQsvIfq.png
It's not intuitive yet. But it should works (you can verify by seeing the exported Code). Here is the guide to work with custom attributes (written for field settings, but also works for meta box settings).
- Regarding "Why could MB Frontend not allow in the visual interface to select post_title and post_excerpt", my first attempt to build the extension is to make it also work with existing meta box in the backend, where post fields already exist. Adding post fields to the form will duplicate them in the backend. So, they must be removed somehow.
Anyway, can you send me an admin account to check why the code doesn't work via contact form?
Thanks,
AnhAnh Tran
KeymasterI found the problem. The Conditional Logic applies CSS (
display: block) inline to the field, which overwrites the CSS of the Group extension (collapsed state). I've just updated the Group extension. Please try and let me know how it goes.Anh Tran
KeymasterPlease add the validation rules to the meta box code exported from the Builder extension. Here is the code:
And the code to show form is just:
$form = '[mb_frontend_form id="question" post_fields="title" submit_button="Submit Question" confirmation="Thank you for submitting your question, which will be addressed shortly!"]'; echo do_shortcode( $form );Anh Tran
KeymasterI checked on Windows with XAMPP and didn't see this bug. Probably the PHP version. Which version are you using?
Anyway, I've just added a fix for that. We're working on some other issues and will release the new version when it's done.
-
AuthorPosts