SteffenM1628
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
limit characters of single line input and multiline input
Started by: SteffenM1628 in: Toolset Professional Support |
2 | 5 | 6 years ago | ||
Counting children of each parent
Started by: SteffenM1628
in: Toolset Professional Support
Problem: I want to count the total of children to parent belonging to the current user is the author. Solution: There isn't such a built-in feature within Views plugin, the shortcode [wpv-found-count] works for only one view, see our document: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-found-count In your case, it needs custom codes, for example, this thread: https://toolset.com/forums/topic/nested-view-with-conditional-sums/ Relevant Documentation: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-found-count |
2 | 5 | 6 years ago | ||
Email notifications relationship forms
Started by: SteffenM1628
in: Toolset Professioneller Support
Problem: Solution: Toolset's Product Management receives a notification and accordingly evaluates and plans features for Toolset. |
3 | 13 | 6 years ago | ||
Form can only be used 5 times (woocomerce)
Started by: SteffenM1628 in: Toolset Professional Support |
2 | 3 | 6 years ago | ||
get the sum of custom fields after submit a form using submit api
Started by: SteffenM1628
in: Toolset Professional Support
Problem: Solution: An example of the kind of code required is given below: https://toolset.com/forums/topic/get-the-sum-of-custom-fields-after-submit-a-form-using-submit-api/#post-1168813 Relevant Documentation: |
2 | 7 | 6 years ago | ||
Conditional shortcode for user who made a relation
Started by: SteffenM1628
in: Toolset Professional Support
Problem: I would like to show a Form that allows Users to create a child post for the current post. If the User has already created a child for the current post, I would like to hide the Form. Solution: Use a View of posts, filtered by post author and by post relationship set by the current post. In the "no results found" section, insert the Form shortcode. Leave the loop tags empty. Relevant Documentation: |
2 | 5 | 6 years ago | ||
Two forms on page = Problems?
Started by: SteffenM1628
in: Toolset Professional Support
Problem: The issue here is that the user was getting issues when they have 2 Toolset forms on the same page. Solution: This issue has been resolved in the latest version of our Toolset Forms plugin. |
2 | 3 | 6 years ago | ||
Table with child posts
1
2
Started by: SteffenM1628
in: Toolset Professional Support
Problem: I would like to display a View of Post Type A and include a nested View of Post Type B. If no related Post Type B exist, do not show the Post Type A post. Solution: Create the nested Views and apply a post relationship Query Filter to the View of post type B. Set it to be related to the current post in the loop. Apply the following custom code to filter out Post Type A where there are no related Post Type B: add_filter('wpv_filter_query', 'jobs_with_bewerbungs_func', 101, 3); function jobs_with_bewerbungs_func($query, $view_settings, $view_id) { $views = array( 870 ); $relationship_slug = 'job-bewerbung-multis'; if ( in_array( $view_id, $views ) ) { $ids = array(); $jobs_args = array( 'post_type' => 'job', 'numberposts' => -1, ); $jobs = get_posts( $jobs_args ); foreach($jobs as $job) { $bewerbungs = toolset_get_related_posts( $job->ID, $relationship_slug, 'parent', 1000000, 0, array(), 'post_id', 'child' ); if( !is_array($bewerbungs) || count($bewerbungs) < 1 ) { array_push( $ids, $job->ID ); } } $query['post__not_in'] = isset($query['post__not_in']) ? $query['post__not_in'] : array(); $query['post__not_in'] = array_merge($query['post__not_in'], $ids ); } return $query; } Relevant Documentation: |
2 | 19 | 6 years ago | ||
Second submit form button with custom redirect to page
Started by: SteffenM1628
in: Toolset Professional Support
Problem: I would like to include two different submit buttons in a Form, and redirect the User conditionally based on which button they clicked. Solution: You can use multiple submit buttons and test if either is set in the $_POST superglobal. Here's the code from a Form: [cred_field field="form_submit" output="bootstrap" value="Submit 1" class="btn btn-primary btn-lg"] [cred_field field="form_submit" output="bootstrap" value="Submit 2" class="btn btn-primary btn-lg"] Then in functions.php: add_filter('cred_success_redirect', 'custom_redirect_form_abc',10,3); function custom_redirect_form_abc($url, $post_id, $form_data) { if ($form_data['id']==12345){ if (isset($_POST['form_submit_2'])) { $url = "https://yoursite.com/alternate-redirect/"; } } return $url; } Note that the "form_submit_2" key may need to be modified in your site. Log or dump the $_POST superglobal to find the appropriate key when you submit using the second submit button. You must also set the Form to redirect to some existing post or page in wp-admin, or the redirect override code will not work. Relevant Documentation: |
2 | 3 | 6 years ago | ||
Edit Form in Template not shown
Started by: SteffenM1628
in: Toolset Professional Support
Problem: Tools form for editing post does not work as expected with Elementor templates. Solution: Here is a workaround by custom codes, see it here: https://toolset.com/forums/topic/view-issue/#post-1154653 Relevant Documentation: |
2 | 5 | 6 years ago | ||
Post delete link -> directing to next page not working with a second class in it
Started by: SteffenM1628
in: Toolset Professional Support
Problem: Solution: For example: [cred_delete_post_link action='trash' text='Job löschen' redirect='547' message_after='Beitrag wurde gelöscht' message='Wollen Sie diesen Beitrag wirklich löschen?' message_show='1' class='btn btn-danger cred-refresh-after-delete' ] Relevant Documentation: |
2 | 3 | 6 years ago | ||
Parent field -> in Child form -> on Parent template
Started by: SteffenM1628 in: Toolset Professional Support |
2 | 6 | 6 years, 2 months ago | ||
Css Problems with registration form
Started by: SteffenM1628
in: Toolset Professional Support
Problem: Style Toolset form fields, add custom CSS style to Toolset user form fields. Solution: You can follow our document to style Toolset forms: Relevant Documentation: https://toolset.com/documentation/user-guides/styling-cred-forms/ |
2 | 9 | 6 years, 2 months ago | ||
User Registration – Confirmation Email
Started by: SteffenM1628
in: Toolset Professional Support
Problem: But i do not find in the email notification a way that the new registered user has to confirm his registration in an email link. Solution: The client has found another plugin, see detail here: https://toolset.com/forums/topic/user-registration-confirmation-email/#post-1133731 Relevant Documentation: |
2 | 5 | 6 years, 2 months ago | ||
relationship form in a custom template
Started by: SteffenM1628 in: Toolset Professional Support |
2 | 6 | 6 years, 3 months ago |