Need some help to display relations
Started by: riinA
in: Toolset Professional Support
2
7
4 years ago
riinA
Change modified date when relationship change
Started by: avansisI-2
in: Toolset Professional Support
2
2
4 years ago
Nigel
relationship fields – many to many
Started by: heinrichT
in: Toolset Professional Support
2
2
4 years, 1 month ago
Minesh
View: custom field filter doesn’t keep post relationship filter when filtering
Started by: Zayne
in: Toolset Professional Support
Quick solution available
Problem:
The user is filtering a view using a relationship field and a URL param. After filtering using AJAX, the view loses the filter because the URL parameter is not preserved.
Solution:
To fix this, we need to add a hidden field that will keep the value of the URL param. This needs custom code such as:
add_filter( 'wpv_filter_end_filter_form', 'prefix_add_hidden_field_edition_id', 99, 3 );
function prefix_add_hidden_field_edition_id( $out, $view_settings, $view_id ) {
$views = array( 9286 );
if ( in_array( $view_id, $views) ) {
$edition_id = isset($_GET['edition_id']) ? $_GET['edition_id'] : '';
$out = '<input type="hidden" id="edition_id" name="edition_id" value="' . $edition_id . '" class="js-wpv-filter-trigger form-control" />' . $out;
}
return $out;
}
Relevant Documentation:
https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_end_filter_form
3
9
4 years, 1 month ago
Zayne
Add a link to a post title when using a many to many relationship.
Started by: JSG
in: Toolset Professional Support
2
7
4 years, 1 month ago
Christian Cox
Output Repeater fields in their drag-and-drop order
Started by: chantelleL-2
in: Toolset Professional Support
2
2
4 years, 1 month ago
Jamal
Unlock feature.
Started by: matthiasV-2
in: Toolset Professional Support
2
3
4 years, 1 month ago
matthiasV-2
See User Profile after Registering User with Cred
Started by: himanshuS
in: Toolset Professional Support
2
33
4 years, 1 month ago
Christian Cox
Delete relationship still not appearing on frontend for non-admin users
Started by: joostv-5
in: Toolset Professional Support
2
2
4 years, 1 month ago
Minesh
relationships of posts created via formidable forms not updating after migration
Started by: gorakhnathS
in: Toolset Professional Support
2
11
4 years, 1 month ago
gorakhnathS
Automatically check checkboxes when creating intermediary post (many-to-many relationship) programmatically using toolset_connect_posts
Started by: Lara
in: Toolset Professional Support
Quick solution available
Problem: I have a custom checkboxes group field applied to the intermediary post type in a M2M relationship. Some of the checkboxes in this group are configured to be "checked" automatically when new posts are created, but the intermediary post created automatically by the toolset_connect_posts API does not have these checkboxes checked automatically.
Solution: Our developers are investigating this issue. Until it is addressed, an undocumented custom code workaround is required.
2
14
4 years, 1 month ago
Lara
Add shortcode in
Started by: stephaneM-4
in: Toolset Professional Support
2
4
4 years, 1 month ago
Minesh
Access the "Repeatable Field Groups" of a post
Started by: leonardM-2
in: Toolset Professional Support
2
2
4 years, 1 month ago
Minesh
2-step filter
Started by: hugoC-3
in: Toolset Professional Support
2
15
4 years, 1 month ago
hugoC-3
Connecting post shows many duplicates with many-to-many relationship
Started by: Luigi Bella
in: Toolset Professional Support
2
6
4 years, 1 month ago
Minesh