front end submission dashboard with custom post type

Support MB Frontend Submission front end submission dashboard with custom post typeResolved

Viewing 15 posts - 1 through 15 (of 43 total)
  • Author
    Posts
  • #22681
    jpascalejpascale
    Participant

    Hi!
    1) I have been able to create a front end submission dashboard with non-custom posts.

    2) I have been a create a front end submission form for custom posts.

    3) I have not been able to create a front end submission dashboard that will list the custom posts.
    I couldn't find documentation for the [mb_frontend_dashboard] shortcode that explains how to use it with custom posts.

    Thanks, James

    #22684
    Long NguyenLong Nguyen
    Moderator

    Hi,

    To create the Frontend Dashboard for the post type, we have to add the attribute post_type to the Frontend Form shortcode.

    [mb_frontend_form post_fields="title,content" post_type="post-type-slug"]
    

    For more information, please follow the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#shortcode-attributes.

    #22687
    jpascalejpascale
    Participant

    Long, thanks.
    I've done that & it works great for creating the custom post.
    Please see:
    This shortcode is in page "scrapecreateform3"
    [mb_frontend_form id="scrapecreatefromfg"
    post_type="scrapecreateform" post_fields="title"]

    However, the dashboard does not show the custom posts; it only shows the standard posts.
    I've tried both:
    [mb_frontend_dashboard post_type="scrapecreateform" edit_page="scrapecreateform3"]
    &
    [mb_frontend_dashboard edit_page="scrapecreateform3"]

    To repeat, it looks like the problem is with the
    shortcode [mb_frontend_dashboard]

    #22692
    Long NguyenLong Nguyen
    Moderator

    Hi,

    The value of the attribute edit_page must be the page ID which has Frontend Form shortcode. We can get the page ID in the URL when editing the page, see my screenshot https://share.getcloudapp.com/JrugZwkA.

    The shortcode for the Frontend Dashboard should be: [mb_frontend_dashboard edit_page="1925"]

    See more in the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#user-posts-dashboard.

    #22696
    jpascalejpascale
    Participant

    Long, thanks.
    So I've changed the shortcode to:
    [mb_frontend_dashboard edit_page="1303"].

    It still doesn't work.
    It lists the standard posts.

    It looks like the [mb_frontend_dashboard] shortcode does grab the correct fields & custom fields from the [mb_frontend_form] shortcode, but it does not grab the correct post type.

    Have you tested this with a custom post?

    #22702
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Please see my screen record https://share.getcloudapp.com/2NujQ1Jp. The Dashboard show the custom post type as well.

    #22703
    jpascalejpascale
    Participant

    Re your screen record:
    Isn’t that exactly what I’ve done & documented above?
    You’re telling me it works for you;
    I’m showing you that I’m following your instructions & it’s not working for me.

    Can you please tell me what is incorrect in the short codes that I’ve documented above?

    #22706
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Please share admin site account via this contact form https://metabox.io/contact/. I will check the Frontend Dashboard on your site.

    #22710
    jpascalejpascale
    Participant

    Thank you for offering to check it for me.
    However,
    this is the Frontend Dashboard code on my site: [mb_frontend_dashboard edit_page=”1303″].
    What else are you interested in checking?
    If you have a plan for checking other items, why not tell me what you're considering & that way I can learn too?

    By the way, this is a multisite installation. Could that make a difference?

    #22718
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Here is steps I will do to troubleshoot the issue:

    • Deactivate all plugins except Meta Box and MB extensions.
    • Switch to the default theme of WordPress Twenty Twenty.
    • Check the page with ID 1303, make sure that it exists and has the shortcode Frontend Submission form.
    • Check the post type slug and field group (meta box) id, make sure it is assigned to attributes of the shortcode Frontend Submission form.
    • Test the page with ID 1303, make sure it runs properly with the Frontend Submission form, create the CPT as well.
    • Check the error log.
    #24102
    RadoslawPiechowiczRadoslawPiechowicz
    Participant

    Hi, I'm trying to achieve the following:
    I would like to have 2 different forms and dashboards for 2 different post types. But no matter what I do, every dashboard always shows all posts. it quickly becomes unclear. Hence the separation. I enter the corresponding page id in the dashboard shortcode, but all dashboards still show all posts.

    What am I doing wrong?

    Best regards,
    Radek

    #24103
    RadoslawPiechowiczRadoslawPiechowicz
    Participant

    I think it`s the same problem jpascale has. I testet a lot of times, but the dashboard still shows only standard post types. Submission is no problem. Just the dashboard.

    #24104
    Long NguyenLong Nguyen
    Moderator

    Hi Radoslaw,

    Please share some screenshots (full screen) when editing the page (frontend submit and frontend dashboard) and shortcodes that you are using. I've tested the frontend dashboard with two post types but not see any issue.

    #24105
    RadoslawPiechowiczRadoslawPiechowicz
    Participant

    Video

    if you need access to the page, please tell me where I should send the access data.

    #24109
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Please share the admin site account via this contact form https://metabox.io/contact/. I will check the Frontend Dashboard on your site.

Viewing 15 posts - 1 through 15 (of 43 total)
  • You must be logged in to reply to this topic.