Nicholas
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 |
---|---|---|---|---|---|
A/B split test two different layouts
Started by: Nicholas
in: Toolset Professional Support
Problem: The issue here is that the user wanted to know if it was possible to use 2 different layouts for a single page. Solution: Unfortunately no this is not possible as a single page can only be assigned to 1 layout at a time. |
2 | 9 | 6 years, 7 months ago | ||
What files and files should I add to the .gitignore file?
Started by: Nicholas in: Toolset Professional Support |
2 | 3 | 6 years, 7 months ago | ||
Submit form with AJAX style loading screen
Started by: Nicholas in: Toolset Professional Support |
2 | 12 | 6 years, 7 months ago | ||
What toolset info is stored in the options table?
Started by: Nicholas
in: Toolset Professional Support
Problem: What Toolset information is stored in the database options table? Solution: At a very high level, settings for Toolset plugins are stored here, like whether or not you have updated to the new relationships system, installer settings, custom taxonomy lists, custom post type lists, maps options, Views settings preferences, serialized data structures representing checkbox custom field values, layouts settings and options, plugin-specific notifications shown in wp-admin, serialized data structures that represent WooCommerce Views calculated field values, Access custom capabilities, custom roles...and more. |
2 | 3 | 6 years, 8 months ago | ||
cred_save_data hook not updating custom field CRED edit form
Started by: Nicholas in: Toolset Professional Support |
2 | 10 | 6 years, 8 months ago | ||
Better to use conditionals in emails or send them out individually?
Started by: Nicholas in: Toolset Professional Support |
3 | 5 | 6 years, 8 months ago | ||
ERROR 1064: Error in your SQL syntax
Started by: Nicholas in: Toolset Professional Support |
2 | 9 | 6 years, 8 months ago | ||
Request login/registration before form submission
Started by: Nicholas
in: Toolset Professional Support
Problem: I have a form that allows Guests to submit a new post. I would like to show a modal that requires registration before the new post can be submitted. Solution: Since there is no public JavaScript API for Forms, I don't have any examples to share for displaying a modal and requiring registration before submission. Instead, you could create two separate forms on two separate pages. Here are some more details and some sample code you can check: add_filter('cred_success_redirect_1234', 'custom_redirect_for_form_with_id_1234', 10, 3); function custom_redirect_for_form_with_id_1234( $url, $post_id, $form_data ) { $newurl = $url . "?postid=" . $post_id; return $newurl; } - This means the redirect will now include the new post ID in the URL as a parameter. We will use this to assign the new post to the new User later. add_action('cred_save_data_2345', 'new_user_author_action_2345',10,2); function new_user_author_action_2345($user_id, $form_data) { // Create post object $args = array( 'ID' => $_POST['your-generic-field-slug'], 'post_author' => $user_id ); // change the post author wp_update_post( $args ); } Relevant Documentation: |
2 | 4 | 6 years, 8 months ago | ||
After visitors submit form conditional logic button doesn't work
Started by: Nicholas in: Toolset Professional Support |
2 | 7 | 7 years, 9 months ago |