Forum Replies Created
-
AuthorPosts
-
Tanja Kropf
ParticipantAm 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 postsreturn $args;
} );
?>Tanja Kropf
ParticipantThanks 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.
Tanja Kropf
ParticipantI'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.
Tanja Kropf
ParticipantHi,
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??
Tanja Kropf
ParticipantThank 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!
Tanja Kropf
ParticipantI 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.
Tanja Kropf
ParticipantFollowing up on this...
March 20, 2025 at 2:22 AM in reply to: ✅Rendering Shortcode on front end not working--tried multiple ways #47866Tanja Kropf
ParticipantIgnore my response. I saw my functions code wasn't matching the html--stupid Chat GPT. Thank you! It's working.
March 20, 2025 at 2:13 AM in reply to: ✅Rendering Shortcode on front end not working--tried multiple ways #47865Tanja Kropf
ParticipantTanja Kropf
ParticipantThis 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>
Tanja Kropf
ParticipantOne other question, what if I have multiple CPTs?
Tanja Kropf
ParticipantThank 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.
Tanja Kropf
ParticipantTo piggyback on this, if the title shows, can Meta Box please correct the spelling of "Howdie" to "Howdy"? It's currently misspelled.
March 16, 2025 at 4:42 AM in reply to: [Feature Request] Conditionally Set Value Of Field Based On Value Of Another #47834Tanja Kropf
ParticipantI'm giving this another upvote.
Tanja Kropf
ParticipantI 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.
-
AuthorPosts