DavidW2160
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Two views sharing a search form on the same page
Gestartet von: DavidW2160 in: Toolset Professional Support |
1 | 2 | vor 3 Jahren, 4 Monaten | ||
Differentiating between a Singular Template and a Content Template Form
Gestartet von: DavidW2160 in: Toolset Professional Support |
2 | 6 | vor 3 Jahren, 4 Monaten | ||
Using Google API in combination with Oxygenbuilder
Gestartet von: DavidW2160 in: Toolset Professional Support |
1 | 2 | vor 3 Jahren, 5 Monaten | ||
Migrating Views from old site (Views plugin) to new site (Blocks plugin)
Gestartet von: 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 | vor 4 Jahren, 3 Monaten | ||
Passing a parameter to a popup (Divi Overlays)
Gestartet von: 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 | vor 4 Jahren, 4 Monaten | ||
Designing one view with „breaks“ or two views using same Query Filter
Gestartet von: 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 | vor 4 Jahren, 4 Monaten | ||
Using Woocommerce and cred_save_data to create a custom post type
Gestartet von: 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 | vor 4 Jahren, 5 Monaten | ||
Creating a Profile CPT at the same time as a user is registering
Gestartet von: DavidW2160 in: Toolset Professional Support |
2 | 5 | vor 4 Jahren, 5 Monaten | ||
Toolset Forms Create/Edit Post type doesn't work in Safari 12.1.2
Gestartet von: DavidW2160 in: Toolset Professional Support |
2 | 2 | vor 4 Jahren, 7 Monaten | ||
Access wp_usermeta table in Views
Gestartet von: 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 | vor 4 Jahren, 7 Monaten | ||
Forms not recognizing *any* post type
Gestartet von: DavidW2160 in: Toolset Professional Support |
1 | 2 | vor 5 Jahren, 1 Monat | ||
Slider View on User isn't displaying 2nd page
Gestartet von: DavidW2160 in: Toolset Professional Support |
3 | 9 | vor 5 Jahren, 1 Monat | ||
Sort taxonomy by custom field internal to a form
Gestartet von: DavidW2160 in: Toolset Professional Support |
2 | 2 | vor 5 Jahren, 2 Monaten | ||
Distance selection was working, now not working
Gestartet von: 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 | vor 5 Jahren, 5 Monaten | ||
Bug when filtering between 2 dates
Gestartet von: DavidW2160
in: Toolset Professional Support
Problem: Client wants a custom search View to be able to specify start and end dates as a between filter so that if there is any overlap between the range of start-date to end-date of the posts and the filtered date range then posts should match and be displayed. Solution: So a partial overlap of the posts and the filters being applied would be achieved if - the post end date is later than the filter start date (the post hasn't already finished when our filter period starts), and Insert the start and end filters as normal, then edit them to swap over the URL parameters that provide the filter value. |
2 | 3 | vor 5 Jahren, 6 Monaten |