grahamA
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 |
---|---|---|---|---|---|
combining user fields and post fields on the same custom post
Started by: grahamA in: Toolset Professional Support |
2 | 4 | 1 year, 1 month ago | ||
switching legacy views post type causes error
Started by: grahamA in: Toolset Professional Support |
2 | 4 | 1 year, 2 months ago | ||
cannot update plugins
Started by: grahamA
in: Toolset Professional Support
Problem: The issue here is that the user is unable to locate the Layouts plugin in the plugin updater to update it. Solution: Given that the Layouts plugin is now in Legacy mode, you can download views and layouts from the link below. |
2 | 4 | 3 years, 6 months ago | ||
updated plugin but views and forms list empty
Started by: grahamA in: Toolset Professional Support |
2 | 5 | 3 years, 9 months ago | ||
email notification to list by view shortcode
Started by: grahamA
in: Toolset Professional Support
Problem: I would like to send an email notification to several Users, provided by a View results. Solution: You must use the PHP APIs to modify the recipients list based on the results of a View. Relevant Documentation: |
2 | 3 | 5 years, 3 months ago | ||
Multiple post types in relationship to one post type
1
2
Started by: grahamA
in: Toolset Professional Support
Problem: I have a Form that edits a parent post type. This parent post type has two different child post types. I would like to show a single select field containing all the child posts from both post types, and allow Users to select one parent and one child to associate with one another. Solution: There's nothing exactly like this built in to Forms. You might be able to achieve something similar with custom code. Use a View to populate a generic select field with parent posts. Use another View to populate a generic select field with child posts from both post types. Then use the PHP APIs to link the two posts programmatically. Relevant Documentation: |
2 | 17 | 5 years, 4 months ago | ||
View sorting for non custom field (roles) content
Started by: grahamA
in: Toolset Professional Support
Problem: I have a View of Users I would like to sort by role. Solution: The standard WordPress User Query isn't sortable by role so this is unfortunately a limitation of the WordPress system. We do offer some PHP APIs that you can use to add your own custom sorting. Relevant Documentation: |
2 | 3 | 5 years, 4 months ago | ||
I wish to pull the data from a custom post into a different custom post.
Started by: grahamA in: Toolset Professional Support |
2 | 13 | 5 years, 5 months ago | ||
Creating a user table to edit multiple roles
Started by: grahamA
in: Toolset Professional Support
Problem: The issue here is that the user wanted to create a table where they can edit multiple user roles at the same time. Solution: Unfortunately this is not possible to achieve without the use of Custom codes. You will need to use this custom code in order to set the user role on the frontend. Our views plugin can create the table, but the issue comes with setting the roles. |
2 | 3 | 5 years, 6 months ago | ||
Latest Credform update strips out all custom html
Started by: grahamA
in: Toolset Professional Support
Problem: The issue here is that after the user updated their forms to version 2.3.3, it strips their custom html in their form. Solution: This was actually because updating from their 2.2.1.2 version to 2.3.3 caused the form to default to its visual builder mode, which will remove the custom html. This was actually fixed in our Latest 2.3.6 version. |
3 | 12 | 5 years, 8 months ago | ||
Porting the site database missing settings
Started by: grahamA in: Toolset Professional Support |
2 | 8 | 5 years, 8 months ago | ||
A code snippet you provided has an access warning when migrated to live site
Started by: grahamA
in: Toolset Professional Support
Problem: The issue here is that the user is getting a warning on their custom snippet in Toolset -> Settings -> Custom Code Solution: In this users case they were missing the line of code to prevent direct access from the code. toolset_snippet_security_check() or die( 'Direct access is not allowed' ); Add the above to your code snippet and it should resolve this warning. |
2 | 3 | 5 years, 11 months ago | ||
Filter a view with No relationship
Started by: grahamA
in: Toolset Professional Support
Problem: I have two post types in a many-to-many (M2M) post relationship. I would like to show a View of one of these post types, and apply a filter so that only posts that have no assigned relationship are shown. Solution: /** * Apply a custom filter to only show Projects which are not yet related to any Client (M2M relationship). * This filter is currently used on the Single Company page. */ add_filter('wpv_filter_query', 'ts_not_linked_to_client_filter', 10, 3); function ts_not_linked_to_client_filter($query, $view_settings, $view_id) { $views = array( 64 ); // only filter these views if( in_array( $view_id, $views ) ) { $project_ids = array(); // push all related project IDs here $client_args = array( 'post_type' => 'client', 'posts_per_page' => -1, ); $clients = new WP_Query($client_args); // get all clients foreach ($clients->posts as $client ) { $projects = toolset_get_related_posts( $client->ID, 'client-project', 'parent', 1000000, 0, null, 'post_id', 'child' ); $project_ids = array_merge($project_ids, $projects); // push the related project IDs into this array } $query['post__not_in'] = isset( $query['post__not_in'] ) ? $query['post__not_in'] : array(); $query['post__not_in'] = array_merge($query['post__not_in'], $project_ids ); // update the main query to exclude related project ids } return $query; } Relevant Documentation: |
2 | 9 | 6 years, 2 months ago | ||
Delete post relationship not working
Started by: grahamA in: Toolset Professional Support |
2 | 5 | 6 years, 2 months ago | ||
Setting a display condition does not differentiate in front end
Started by: grahamA
in: Toolset Professional Support
Problem: Solution: Suggested to use the reversed condition. Relevant Documentation: |
2 | 3 | 6 years, 3 months ago |