Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
The variable
is_previewlets you know if you’re in the preview mode for Gutenberg or on the front end. It’s useful when you want to display a custom message to users when they edit the block on the back end. See my screenshot https://imgur.com/s295oqk https://imgur.com/r9025ZvGet more details here https://docs.metabox.io/extensions/mb-blocks/#render_callback
If you use the block setting
preview, the content will show on the small preview area. Screenshot https://imgur.com/mMB5a5mGet more details here https://docs.metabox.io/extensions/mb-blocks/#preview
Long Nguyen
ModeratorHi John,
You can use the
textareafield to allow the users to use the medium editor on the frontend, remove the default post fieldcontentin the frontend submission shortcode. Then follow this tutorial to update the post content by thetextareacontent https://docs.metabox.io/save-wysiwyg-content-post-content/.Or follow this documentation to use the custom field and save the data to the post content.
https://docs.metabox.io/extensions/mb-frontend-submission/#reorder-post-fieldsLong Nguyen
ModeratorHi Matt,
MB Builder does not support full coding settings. We will try to do it in future updates. For now, please use the code to show the block preview.
Long Nguyen
ModeratorHi,
I try to run your code on my local site and after publishing the post, the value
0of the hidden fields are saved to the database as well. Screenshot https://share.getcloudapp.com/P8uGAb8YSeptember 29, 2021 at 10:50 AM in reply to: ✅How can different forms be combined to add up to one specific post? #31061Long Nguyen
ModeratorHi,
It's also not possible. You can create more frontend submission forms (pages) with many meta boxes (field groups) to create posts, but the frontend dashboard only allows editing posts from one frontend submission page.
Or you can add multiple meta box IDs to the frontend to allow users to fill all the fields when creating a post. For example:
[mb_frontend_form id="meta-box-id1,meta-box-id2,meta-box-id3" post_fields="title,content"]Get more details here https://docs.metabox.io/extensions/mb-frontend-submission/#shortcode-attributes
Long Nguyen
ModeratorHi Thomas,
Meta Box does not support a field to generate menu items dynamically. But I think you will need a lot of code to do that. Refer to this topic https://wordpress.stackexchange.com/questions/82563/add-items-to-a-menu-dynamically
Long Nguyen
ModeratorHi Igor,
There is not a solution for this question and is out of the scope of Meta Box field support. It's not possible to disable the option "camera or take photos" in iOS. Please refer to some topics
https://stackoverflow.com/questions/44678685/html-input-file-on-ios-app-disable-take-photo-option
https://surveyjs.answerdesk.io/ticket/details/t5411/file-type-question-showing-camera-option-in-ios-but-not-in-androidSeptember 29, 2021 at 9:09 AM in reply to: Something is not right with the shortcode on page ID: #31057Long Nguyen
ModeratorHi,
Thank you for pointing it out.
Is there way for me to construct what I need in MB to achieve my goal? until the MB devs make this possible with "Dashboard"?
I think I've answered this question in this reply.
Currently, it is not possible to customize the dashboard to let a user role edit posts of other users on the frontend. You can allow them to edit posts on the backend (admin area).September 28, 2021 at 9:03 PM in reply to: How to sort a custom taxonomy using Metabox plugin ? #31048Long Nguyen
ModeratorHi Jeremie,
Thank you for reaching out.
You need to add the setting
'sort' => trueto make the custom column sortable. But there was an issue with the sort option. It will be fixed in the next update and I will let you know when it's done.
https://docs.metabox.io/extensions/mb-admin-columns/#3-advanced-configurationSeptember 28, 2021 at 8:47 PM in reply to: ✅How can different forms be combined to add up to one specific post? #31046Long Nguyen
ModeratorHi Harry,
Currently, we do not support customizing the frontend dashboard to add a button like that.
September 28, 2021 at 8:37 PM in reply to: Is having a crentralized place to add a URL a usecase for MB? #31045Long Nguyen
ModeratorHi,
I do not have your whole scenario but if you get the URL from one place (not like posts), you can use the extension MB Settings Page. It works like the theme options.
https://docs.metabox.io/extensions/mb-settings-page/September 28, 2021 at 8:30 PM in reply to: Something is not right with the shortcode on page ID: #31044Long Nguyen
ModeratorHi,
Regarding the frontend dashboard, we've had a note for this case "To let users view and edit their submitted posts ...", please read more here
https://docs.metabox.io/extensions/mb-frontend-submission/#user-posts-dashboard
I will inform the development team to consider supporting this case in future updates.Regarding the field
switch, there is a space before the field ID so it won't be saved data to the database. Please re-check the field ID, screenshot https://share.getcloudapp.com/6quYgbxp
And read more on the documentation https://docs.metabox.io/field-settings/#generalLong Nguyen
ModeratorHi Jim,
Yes, it is possible to add a custom field type to the Builder. Please read more here https://docs.metabox.io/extensions/meta-box-builder/#extending-the-builder
Long Nguyen
ModeratorHi,
Thank you for your feedback.
I'm going to check this issue and get back to you later.
Long Nguyen
ModeratorHi,
Thanks for the feedback.
I will inform the development team to consider supporting users to download the older version of premium extensions.
-
AuthorPosts