Forum Replies Created
-
AuthorPosts
-
March 23, 2022 at 5:40 PM in reply to: Unable to load MB Frontend Submission via Ajax - Permissions not allowed #35236
Mike
ParticipantI can't edit / delete previous question. That solution wouldn't work. The problem would still be there, that with a list of posts, the same Frontend Submission forms would be with the same ID.
There is an easy solution here, though would mean modifying Meta Box plugin directly. If the Frontend Submission form used data-id and not id as the value for the field id, and then form id could be unique (ids should not be used as data anyway).
So I doubt that would require a huge change. Any insight how I could modify the plugin to do that?
March 23, 2022 at 1:51 PM in reply to: Unable to load MB Frontend Submission via Ajax - Permissions not allowed #35233Mike
ParticipantHi again,
One more question on this. If each field was put in it's own custom field group, and put on the frontend as a separate edit (so each field / column has an edit button), could multiple MB Frontend Submissions be on the page when they have different meta box IDs?
March 21, 2022 at 5:20 PM in reply to: Unable to load MB Frontend Submission via Ajax - Permissions not allowed #35177Mike
ParticipantOk, thanks.
Is there a way I can change the ID of generated HTML, so I can have multiple frontend submissions on the page at the same time?
I am trying to find a way to edit custom posts, without leaving the page (this could be pre-loaded or via ajax). I have multiple posts listed on the page, each with it's own edit button, and on clicking that button I would like to edit one or more custom meta box fields. Refreshing the page after edit is not a problem, I just don't want the user to have to leave the page with lists of posts while editing.
Mike
ParticipantHi,
Thanks! Ah ok. So I can make that work.
In fact, for anyone else wanting to do this, I've found a plugin WP Post Popup that opens the post as a modal popup. So although I can't do multiple inline editing with frontend submission, I can get a popup
Mike
ParticipantHi,
Ah ok. That makes sense now. Got that working. Would I be able to edit the documentation here? I think this could be adjusted to make that clearer for others.
Mike
ParticipantHi,
Thanks for your help here. I am actually trying to help Meta Box here. A long time ago I told the creator that I though Meta Box would need to choose which side it was on (GUI or developer-only tool).
Right now it's for experienced WordPress devs only, unless users only want to do simple things.
Take for example this: https://docs.metabox.io/extensions/mb-relationships/#getting-connected-items. From section Getting Connected Items and onwards, it's an advanced developer manual. There is no information about where that code should go.
I'm back to where I was the last time I tried using Meta Box. It's either ACF for the more in-depth GUI or nothing as I may as well code it manually (with WordPress functions, it's not much longer and doesn't need the plugin).
Sorry if that sounds harsh. I think the Meta Box team should try an experiment. Find 2 experienced WordPress devs who don't know Meta Box. Ask them to create a relationship between posts, and display those connected posts within a 'parent' post. Give one Meta Box and one without. Which one will be finished first?
Then take the same scenario with non-developer website builders. In that case, what will they do? They won't have knowledge to do it manually and won't understand the Meta Box docs, so likely they turn to ACF.
I think these are questions the Meta Box team should be thinking about.
Mike
ParticipantHi,
Thanks.
YEs, I want to the second, but also to also display the created post when that user revisits that main post again (so a post within a post).
Is that support thread the only information on this? It's very long and confusing. Perhaps Meta Box is not the right solution for this.
I'm trying to avoid a lot of custom coding here, so maybe Meta Box is not the right solution here. IS there anything Meta Box connects with that would deal more fully with the relationship side?
-
AuthorPosts