DavidW2160
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Two views sharing a search form on the same page
Iniciado por: DavidW2160 en: Toolset Professional Support |
1 | 2 | hace 3 años, 4 meses | ||
Differentiating between a Singular Template and a Content Template Form
Iniciado por: DavidW2160 en: Toolset Professional Support |
2 | 6 | hace 3 años, 4 meses | ||
Using Google API in combination with Oxygenbuilder
Iniciado por: DavidW2160 en: Toolset Professional Support |
1 | 2 | hace 3 años, 5 meses | ||
Migrating Views from old site (Views plugin) to new site (Blocks plugin)
Iniciado por: DavidW2160
en: 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 | hace 4 años, 3 meses | ||
Passing a parameter to a popup (Divi Overlays)
Iniciado por: DavidW2160
en: 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 | hace 4 años, 4 meses | ||
Designing one view with «breaks» or two views using same Query Filter
Iniciado por: DavidW2160
en: 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 | hace 4 años, 4 meses | ||
Using Woocommerce and cred_save_data to create a custom post type
Iniciado por: DavidW2160
en: 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 | hace 4 años, 5 meses | ||
Creating a Profile CPT at the same time as a user is registering
Iniciado por: DavidW2160 en: Toolset Professional Support |
2 | 5 | hace 4 años, 5 meses | ||
Toolset Forms Create/Edit Post type doesn't work in Safari 12.1.2
Iniciado por: DavidW2160 en: Toolset Professional Support |
2 | 2 | hace 4 años, 7 meses | ||
Access wp_usermeta table in Views
Iniciado por: DavidW2160
en: 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 | hace 4 años, 7 meses | ||
Forms not recognizing *any* post type
Iniciado por: DavidW2160 en: Toolset Professional Support |
1 | 2 | hace 5 años, 1 mes | ||
Slider View on User isn't displaying 2nd page
Iniciado por: DavidW2160 en: Toolset Professional Support |
3 | 9 | hace 5 años, 1 mes | ||
Sort taxonomy by custom field internal to a form
Iniciado por: DavidW2160 en: Toolset Professional Support |
2 | 2 | hace 5 años, 2 meses | ||
Distance selection was working, now not working
Iniciado por: DavidW2160
en: 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 | hace 5 años, 5 meses | ||
Bug when filtering between 2 dates
Iniciado por: DavidW2160
en: 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 | hace 5 años, 6 meses |