KentS9937
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 |
---|---|---|---|---|---|
Workflow for Frontend Editing of Repeatable Field Groups and redirect to parent post
Started by: KentS9937
in: Toolset Professional Support
Problem: I would like to use a Form to edit a repeatable field group (RFG). After the Form is submitted, I would like to redirect to the parent post. Solution: Use this custom code snippet to redirect to the parent post. Be sure to set your Form to redirect to some custom page. add_filter('cred_success_redirect', 'custom_redirect_rfg_editor',10,3); function custom_redirect_rfg_editor($url, $post_id, $form_data) { if ($form_data['id']==12345) $writer = toolset_get_related_post( $post_id, 'your-rfg-slug' ); return get_permalink($writer); return $url; } Replace 12345 with the numeric ID of this Form, and replace your-rfg-slug with your actual RFG slug. Relevant Documentation: |
2 | 3 | 6 years, 2 months ago | ||
Trouble Adding a Capability to a Custom Role
Started by: KentS9937 in: Toolset Professional Support |
2 | 4 | 6 years, 4 months ago | ||
Cred_Delete_Post_Link Hanging
Started by: KentS9937
in: Toolset Professional Support
Problem: I'm using the cred_delete_post_link to delete the item. It works except it hangs with the message "deleting..". If I refresh the browser everything is good, the post has been deleted. I expected the "deleting.." message to go away and the page to refresh. Solution: The client has fixed the problem by adding a CSS class to the link: Relevant Documentation: |
2 | 3 | 6 years, 5 months ago | ||
Displaying Grandparent Post-Link on Grandchild Post
Started by: KentS9937
in: Toolset Professional Support
Problem: Solution: The basic steps are So, starting from our grandchild post, we insert a Content Template where we specify that the source is the parent post, so that the template "thinks" its context is the parent. So when the fields inside are told to display fields from the parent, it is the parent of the parent. Relevant Documentation: |
2 | 3 | 6 years, 6 months ago | ||
Filtering Options by Taxonomy when Setting up Post Relationships
Started by: KentS9937 in: Toolset Professional Support |
2 | 5 | 6 years, 7 months ago |