alexG-4
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Accessing posts by slug instead of post id
Commencé par : alexG-4 in: Toolset Professional Support |
3 | 5 | Il y a 5 années et 8 mois | ||
Using Relationships in Conditions in a Conditional Group in a Form
Commencé par : alexG-4
in: Toolset Professional Support
Problem: I would like to use conditional groups in Forms to test the selected parent post. Solution: You can use the following syntax to test the selected parent: [cred_show_group if="( $(@relationship-slug.parent) eq '12345' )" mode="fade-slide"] Show this content when the parent has ID 12345 [/cred_show_group] Replace relationship-slug with the slug of the relationship, and replace 12345 with the ID to test. |
2 | 3 | Il y a 5 années et 8 mois | ||
Ocean WP keeps automatically reverting to default settings in Layout
Commencé par : alexG-4 in: Toolset Professional Support |
2 | 2 | Il y a 5 années et 8 mois | ||
Relationship Forms breaking the layout of layouts
Commencé par : alexG-4
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 4 | Il y a 5 années et 8 mois | ||
How to reload a view via ajax after submitting a form
Commencé par : alexG-4 in: Toolset Professional Support |
2 | 7 | Il y a 5 années et 8 mois | ||
How can I pre-populate a generic select field on a CRED edit form?
Commencé par : alexG-4 in: Toolset Professional Support |
2 | 5 | Il y a 5 années et 9 mois | ||
Unable to use Kint debugger CRED Forms
Commencé par : alexG-4
in: Toolset Professional Support
Problem: I would like to debug some variables in my Form validation script. I am using the Kint debugger in my WordPress project but it doesn't seem to work well with Forms. Solution: I recommend simple error_log messages instead. At first glance, this plugin doesn't seem very effective with even simple WP filters. |
2 | 7 | Il y a 5 années et 9 mois | ||
Shortcodes in Views that are refreshed via Javascript
Commencé par : alexG-4 in: Toolset Professional Support |
2 | 5 | Il y a 5 années et 9 mois | ||
Forms force page reload before displaying validation error messages
Commencé par : alexG-4 in: Toolset Professional Support |
2 | 3 | Il y a 5 années et 9 mois | ||
Filtering a view by post type within a shortcode
Commencé par : alexG-4 in: Toolset Professional Support |
3 | 8 | Il y a 5 années et 9 mois | ||
Generic fields not appearing in forms
Commencé par : alexG-4
in: Toolset Professional Support
Problem: Now I need to include some generic "select" fields and populate the options using a View. Solution: Yes, it is possible within Toolset, see details here: https://toolset.com/forums/topic/generic-fields-not-appearing-in-forms/#post-1213601 Relevant Documentation: |
2 | 6 | Il y a 5 années et 9 mois | ||
OR Condition in Views Filter
Commencé par : alexG-4
in: Toolset Professional Support
Problem: I would like to use Views to display posts by the current logged-in User, as well as some system-generated posts that everyone should see. I tried a post author filter with a taxonomy filter, but they are combined using "AND" instead of "OR". Solution: Create a System User that will be the author of those system posts. Create a View that is filtered by author, and apply this custom code snippet: add_filter( 'wpv_filter_query', 'views_viewable_by', 101,3); function views_viewable_by( $query_args, $view_settings, $view_id ) { global $current_user; // Super-user can see everything! if ( $current_user->ID == 1 ) { return $query_args; } // Don't apply to specific Views if ( $view_id == 82 // View of Assets CPT ) { return $query_args; } $query_args['author__in'] = array( 1, $current_user->ID ); $query_args['author'] = null; return $query_args; } Relevant Documentation: |
3 | 9 | Il y a 5 années et 9 mois | ||
Viewing custom post type in a tab cell
Commencé par : alexG-4
in: Toolset Professional Support
Problem: The issue here is that Layouts Tab cells do not accept custom fields as values to display the tab title. Solution: A feature request for this has been made and if approved will be added to a future version of Layouts. |
2 | 3 | Il y a 5 années et 9 mois | ||
Calculating the Length of Post Titles and of Custom Fields
Commencé par : alexG-4
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 10 | Il y a 5 années et 9 mois | ||
Auto-modifying fields after user submits a form
Commencé par : alexG-4 in: Toolset Professional Support |
2 | 7 | Il y a 5 années et 9 mois |