marcialB
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 |
---|---|---|---|---|---|
Order posts by date in repeating field group
Iniciado por: marcialB
en: Toolset Professional Support
Problem: The customer has several events, each with multiple dates stored in a repeating field group. They want to display all events in a list ordered by the date of the first event. The inner view correctly retrieves the next upcoming date of each event, but they want the outer view to use the same logic to order the events by the first upcoming date. Solution: We explained that due to the way repeatable field groups are implemented (as child posts), the fields for the event dates belong to the child posts, making it impossible to directly order the outer events by these fields. The suggested solution is to add a field directly to the event posts that records the next upcoming event date. This field can then be used to order the event posts. To automate this process, the customer can use the save_post hook to copy the upcoming date to the main post whenever changes are made, ensuring that the data stays up to date. |
|
2 | 3 | hace 5 meses, 2 semanas | |
Get name of related post
Iniciado por: marcialB en: Toolset Professional Support |
2 | 3 | hace 5 meses, 2 semanas | ||
Views using a relationship not showing all results
Iniciado por: marcialB en: Toolset Professional Support |
|
2 | 6 | hace 1 año, 9 meses | |
Redirection loop
Iniciado por: marcialB en: Toolset Professional Support |
2 | 3 | hace 1 año, 10 meses | ||
Template not showing in Twenty Twenty-Three
Iniciado por: marcialB en: Toolset Professional Support |
|
2 | 6 | hace 2 años, 1 mes | |
Custom user fields not available in Views
Iniciado por: marcialB en: Toolset Professional Support |
|
2 | 7 | hace 3 años, 5 meses | |
Pass parameter of CRED fields to another form via URL
Iniciado por: marcialB
en: Toolset Professional Support
Problem: Solution: You can find proposed solution in this case with the following reply: Relevant Documentation: |
|
2 | 5 | hace 3 años, 9 meses | |
Display repeating field groups from related posts
Iniciado por: marcialB en: Toolset Professional Support |
|
2 | 3 | hace 3 años, 9 meses | |
Scroll to ID on search results page
Iniciado por: marcialB en: Toolset Professional Support |
|
2 | 3 | hace 3 años, 10 meses | |
Access doesn't hide whole page but only the main content
Iniciado por: marcialB en: Toolset Professional Support |
|
2 | 2 | hace 3 años, 12 meses | |
Notify members about new posts
Iniciado por: marcialB en: Toolset Professional Support |
2 | 2 | hace 4 años, 1 mes | ||
Automatically set parent post in form for repeatable field group
Iniciado por: marcialB
en: Toolset Professional Support
Problem: Solution: - https://toolset.com/forums/topic/repeatable-field-group-form-auto-select-post-where-this-form-is-shown-elementor/ The trick is to bind the post using a content template, using the item attribute, or inside a view's loop. Relevant Documentation: |
|
2 | 3 | hace 4 años, 2 meses | |
CRED: tinymce-error in text field
Iniciado por: marcialB
en: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
|
2 | 5 | hace 4 años, 4 meses | |
Automatically set a taxonomy term per CRED form
Iniciado por: marcialB
en: Toolset Professional Support
Problem: I have 6 Forms that create custom posts. For each Form, I would like to automatically set one term in a custom taxonomy when the post is published. Solution: Use the cred_save_data API to programmatically set a term specific to each Form for the published posts: /* - Toolset support - for ticket #1691935 - */ // Bewerber: 13 = VR, 399 = Berater, 403 = Sportler; Inserate: 255 = VR, 584 = Berater, 586 = Sportler add_action('cred_save_data', 'ts_set_industry_term',100,2); function ts_set_industry_term($post_id, $form_data) { $forms = array( 13, 399, 403, 255, 584, 586 ); $terms = [ '13' => 'vr-mandate', '399' => 'berater-innen', '403' => 'sportler-innen', '255' => 'vr-mandate', '584' => 'berater-innen', '586' => 'sportler-innen', ]; $taxonomy = 'profil'; // -- you should not edit anything below this line if( in_array( $form_data['id'], $forms ) ) { $tag = array( $terms[$form_data['id']] ); wp_set_object_terms( $post_id, $tag, $taxonomy, true ); } }; Relevant Documentation: |
|
2 | 7 | hace 4 años, 7 meses | |
Form not adding product to cart
Iniciado por: marcialB en: Toolset Professional Support |
|
2 | 5 | hace 4 años, 8 meses |