DavidW2160
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 |
---|---|---|---|---|---|
Two views sharing a search form on the same page
Started by: DavidW2160 in: Toolset Professional Support |
1 | 2 | 3 years, 8 months ago | ||
Differentiating between a Singular Template and a Content Template Form
Started by: DavidW2160 in: Toolset Professional Support |
|
2 | 6 | 3 years, 8 months ago | |
Using Google API in combination with Oxygenbuilder
Started by: DavidW2160 in: Toolset Professional Support |
1 | 2 | 3 years, 9 months ago | ||
Migrating Views from old site (Views plugin) to new site (Blocks plugin)
Started by: DavidW2160
in: Toolset Professional Support
Problem: Using Toolset's Import/Export, The only tabs on the new site's Import/Export are Types, Associations, and Forms. I don't see any options of Views. Solution: The export/import tab for Toolset Blocks has been disabled on purpose, our developers are working on it, but I am not sure when will this feature will be implemented. Currently, you will try as you mentioned above, manually recreate the content template and view blocks. Relevant Documentation: |
|
2 | 3 | 4 years, 7 months ago | |
Passing a parameter to a popup (Divi Overlays)
Started by: DavidW2160
in: Toolset Professional Support
Problem: I have a view that lists businesses and another view that displays a single business' details. Ideally, I would click on a "Details" link and pass a parameter to a popup, and the popup contains a view controlled by the parameter, but that doesn't work. Solution: 1) Toolset Views does accept URL parameter to filter the view's result, it is a built-in feature of Toolset Views/Blocks plugin. 2) The problem is the Divi popup does not accept URL parameter Relevant Documentation: |
|
2 | 5 | 4 years, 8 months ago | |
Designing one view with “breaks” or two views using same Query Filter
Started by: DavidW2160
in: Toolset Professional Support
Problem: How can two views, both on the same page, both use the same query filter with same URL parameter? Solution: Yes, it is possible to pass same URL parameter to both views, and take effect on both of them, you can disable AJAX search, for example: Edit both post views: 1) in section "Custom Search Settings", enable option: Full page refresh when visitors click on the search button, 2) In section "Search and Pagination", add a submit button Relevant Documentation: |
|
2 | 6 | 4 years, 8 months ago | |
Using Woocommerce and cred_save_data to create a custom post type
Started by: DavidW2160
in: Toolset Professional Support
Problem: Solution:
The cred_commerce_after_order_completed hook passes a $data object to the hooked function. The order_id is the "transaction_id" in the $data object. The created user is saved in a custom field of the order, called "_cred_post_id". Then we can pull the user fields from the user, create the custom post, and save the custom field values for the post. add_action( 'cred_commerce_after_order_completed', 'my_cred_commerce_after_order_completed', 10, 1 ); function my_cred_commerce_after_order_completed( $data ) { // get the order id $order_id = $data['transaction_id']; // get the user id $user_id = get_post_meta( $order_id, '_cred_post_id', true); // get user data to have a title for the post. $user = get_userdata( $user_id ); // prepare post object $post = array( 'post_type' => 'user-profile', // <== CPT slug 'post_title' => $user->user_login, // <== post title 'post_status' => 'publish', 'post_author' => $user_id, // <== Author ); // Insert the post into the database $post_id = wp_insert_post( $post ); // get user field $phone = get_user_meta( $user_id, 'wpcf-phone-number', true ); $agency = get_user_meta( $user_id, 'wpcf-agency1', true ); $speciality = get_user_meta( $user_id, 'wpcf-specialty', true ); // create post field update_post_meta( $post_id, 'wpcf-agency1', $agency ); update_post_meta( $post_id, 'wpcf-phone-number', $phone ); update_post_meta( $post_id, 'wpcf-speciality', $speciality ); } Relevant Documentation:
|
|
2 | 13 | 4 years, 9 months ago | |
Creating a Profile CPT at the same time as a user is registering
Started by: DavidW2160 in: Toolset Professional Support |
|
2 | 5 | 4 years, 9 months ago | |
Toolset Forms Create/Edit Post type doesn't work in Safari 12.1.2
Started by: DavidW2160 in: Toolset Professional Support |
|
2 | 2 | 4 years, 11 months ago | |
Access wp_usermeta table in Views
Started by: DavidW2160
in: Toolset Professional Support
Problem: Solution: According to this article, Memberpress has its own shortcodes to display user meta[mepr-account-info] You may want to create your custom shortcode to display the user meta, like this answer on StackOverflow https://wordpress.stackexchange.com/a/82335 Or using a 3rd party plugin such as https://wordpress.org/plugins/user-meta-shortcodes/ Relevant Documentation: |
|
2 | 3 | 4 years, 11 months ago | |
Forms not recognizing *any* post type
Started by: DavidW2160 in: Toolset Professional Support |
1 | 2 | 5 years, 5 months ago | ||
Slider View on User isn't displaying 2nd page
Started by: DavidW2160 in: Toolset Professional Support |
|
3 | 9 | 5 years, 5 months ago | |
Sort taxonomy by custom field internal to a form
Started by: DavidW2160 in: Toolset Professional Support |
|
2 | 2 | 5 years, 6 months ago | |
Distance selection was working, now not working
Started by: DavidW2160
in: Toolset Professional Support
Problem: Toolset Maps 1.8 and 1.8.1 require MySQL 5.7.6 and above to provide distance filtering and sorting capabilities to Views. Solution: This is fixed in Toolset Maps plugin version 1.8.2 Relevant Documentation: |
|
3 | 12 | 5 years, 9 months ago |