Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 50 total)
  • Author
    Posts
  • in reply to: Front end submission form not displaying CPTs #47904
    Tanja KropfTanja Kropf
    Participant

    Am I missing something? I've added this to Scripts Organizer and it's still returning all posts:

    <?php
    add_filter( 'rwmb_frontend_dashboard_query_args', function( $args ) {
    $args['posts_per_page'] = 30; // show 30 posts

    return $args;
    } );
    ?>

    in reply to: Front end submission form not displaying CPTs #47901
    Tanja KropfTanja Kropf
    Participant

    Thanks Peter---still waiting on answers for my other questions regarding A) adding pagination or B) limiting the number of posts that load on the dashboard. Thanks.

    in reply to: Front end submission form not displaying CPTs #47898
    Tanja KropfTanja Kropf
    Participant

    I'm also getting confused by the edit post function. If I have a front end submission form that's different for each CPT, then I'd have two different edit pages? The documentation is really unclear and this is not intuitive.

    Thanks.

    in reply to: Front end submission form not displaying CPTs #47897
    Tanja KropfTanja Kropf
    Participant

    Hi,

    I'm still waiting to hear back on including multiple CPTs on the dashboard. I also was able to create some code to limit the amount of listings that load at once, but is there some way to create pagination??

    in reply to: Front end submission form not displaying CPTs #47890
    Tanja KropfTanja Kropf
    Participant

    Thank you Peter. That worked. Can I include two different CPTs, though? And also, can I cap it to show only X number of listings? I ask because I have a directory and under my own dashboard, there are 4000 listings and it's causing loading issues. Thank you!

    in reply to: Front end submission form not displaying CPTs #47871
    Tanja KropfTanja Kropf
    Participant

    I also tried creating a test edit page with the user dashboard in Bricks, and it will show on the backend, but not the front. But if I try to add the regular shortcode on that same page: [mb_frontend_dashboard edit_page="124"], it says the content is empty. It is not.

    Also, can you include multiple CPTs? It seems with the Bricks element you are limited to one.

    in reply to: Front end submission form not displaying CPTs #47870
    Tanja KropfTanja Kropf
    Participant

    Following up on this...

    Tanja KropfTanja Kropf
    Participant

    Ignore my response. I saw my functions code wasn't matching the html--stupid Chat GPT. Thank you! It's working.

    Tanja KropfTanja Kropf
    Participant

    Here's what I added:

    https://imgur.com/a/It8HCuE

    Field is blank on front end

    in reply to: Front end submission form not displaying CPTs #47859
    Tanja KropfTanja Kropf
    Participant

    This is what I put in (I figured out the page ID for the page the shortcode is on).

    [mb_frontend_dashboard edit_page="30855" object_type="directory"]

    And I get an error that says "Model name is required"

    <div class="rwmb-error">Model name is required</div>

    in reply to: Front end submission form not displaying CPTs #47858
    Tanja KropfTanja Kropf
    Participant

    One other question, what if I have multiple CPTs?

    in reply to: Front end submission form not displaying CPTs #47854
    Tanja KropfTanja Kropf
    Participant

    Thank you. I'll give that a shot. What is this in reference to, though? edit_page="124" Not sure what I should replace that with.

    in reply to: Disable the Title link on Dashboard #47842
    Tanja KropfTanja Kropf
    Participant

    To piggyback on this, if the title shows, can Meta Box please correct the spelling of "Howdie" to "Howdy"? It's currently misspelled.

    Tanja KropfTanja Kropf
    Participant

    I'm giving this another upvote.

    in reply to: Undefined array errors #47492
    Tanja KropfTanja Kropf
    Participant

    I just started over and tried two different ways of creating a form and neither are working. First, I created a form with shortcodes, and second, I used the MB Front End Submission element in Bricks.

    Shortcode version:
    I tried to create the illusion of a multistep form and adding shortcode from my custom fields into tabs in Bricks. For example:

    Tab 1: [mb_frontend_form id='listing-type,location,business-hours-display' post_fields='title,content']
    Tab 2: [mb_frontend_form id='listing-packages']

    I hid the submit button with code except for the last step. I realized hiding the button on each page might end up with only the data from the last tab with the submit button showing up, but,in fact, the entire post was empty.

    MB Front End Submission element in Bricks
    When I test this out, it gives me a notice that the form is successfully submitted, but there is no record of it on the back end.

    Additional questions:
    I've seen this asked before but it hasn't fully answered what I'm looking for. How exactly can post drafts be saved via front end submission? I only see submit buttons.

    I'm trying to break up the form since it requires the selection of packages to purchase listings. If they select a paid listing, a pop up form will appear for payment. I'd like users to be able to save a draft of their post if they pay and don't want to complete the rest of it right away.

    Thanks.

Viewing 15 posts - 31 through 45 (of 50 total)