samuelH
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
Dieser Benutzer hat keine Lieblingsthemen.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Hide a button in view for certain roles
Gestartet von: samuelH in: Toolset Professional Support |
2 | 5 | vor 3 Jahre, 2 Monate | ||
Access
Gestartet von: samuelH in: Toolset Professional Support |
2 | 3 | vor 3 Jahre, 3 Monate | ||
User managment
Gestartet von: samuelH in: Toolset Professional Support |
2 | 2 | vor 3 Jahre, 3 Monate | ||
Custom query
Gestartet von: samuelH in: Toolset Professional Support |
2 | 2 | vor 3 Jahre, 6 Monate | ||
Best practice – Gutenberg, blocks and theme
Gestartet von: samuelH in: Toolset Professional Support |
2 | 2 | vor 3 Jahre, 6 Monate | ||
Full width image at top of post / template made
Gestartet von: samuelH in: Toolset Professional Support |
3 | 4 | vor 3 Jahre, 6 Monate | ||
Order taxonomy field in a Toolset form
Gestartet von: samuelH
in: Toolset Professional Support
Problem: Solution: This plugin "Category Order and Taxonomy Terms Order" seems to do the work. Just install it, then go to your taxonomy link, the "Taxonomy order" link should be below it or at the end of the sublinks. Enter it and reorder your terms. They will, then, be ordered in the form too. Check these screenshots: Check this reply for a custom solution using views and custom code https://toolset.com/forums/topic/cred-form-taxonomy-order/#post-501029 |
2 | 4 | vor 3 Jahre, 7 Monate | ||
Sorting taxonomy term options in view's search filter
Gestartet von: samuelH in: Chat Support |
1 | 2 |
vor 3 Jahre, 7 Monate
|
||
Initial sorting of CPT in search page
Gestartet von: samuelH in: Toolset Professional Support |
2 | 3 | vor 3 Jahre, 7 Monate | ||
Conditional fields and conditional css
Gestartet von: samuelH
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: - https://toolset.com/documentation/legacy-features/views-plugin/conditional-html-output-in-views/ |
2 | 3 | vor 4 Jahre | ||
Conditional view with
Gestartet von: samuelH
in: Toolset Professional Support
Problem: Solution: // wrong condition [wpv-conditional if="( $(wpcf-statusbeskrivelse) eq '2' or '4' )"] // correct condition [wpv-conditional if="( ($(wpcf-statusbeskrivelse) eq '2') or ($(wpcf-statusbeskrivelse) eq '4') )"] Relevant Documentation: |
2 | 3 | vor 4 Jahre | ||
CPT editable / viewable by speific Users
Gestartet von: samuelH in: Toolset Professional Support |
2 | 6 | vor 4 Jahre, 1 Monat | ||
CPT editable by speific Users?
Gestartet von: samuelH
in: Toolset Professional Support
Problem: I would like to use Forms to allow Users to submit and edit posts. I would like to group Users by Company, and allow all Users from the same Company to read and edit all posts by all Users from the same Company. Solution: Unfortunately there isn't a simple option that will allow you to create this type of filter. I think the simplest option is to add a custom field that holds a Company ID in the User profile, and add another custom field that holds the Company ID in each post. When each User submits content, the Company ID from their User profile could be used to set a custom field in the submitted post. Then you could filter a View by Company ID, and that would show each User content from other Users in their own Company. Another more complex solution is to use a proxy custom post type that represents Users - something like "Employees". Each User is the post author of one Employee post. Then you can use post relationships to relate Employees and Companies. Then you can use Views post relationship filters to show and hide content based on which Company the Employee is related to. We have more information about using a proxy post type available here: https://toolset.com/documentation/post-relationships/how-to-create-custom-searches-and-relationships-for-users/ |
2 | 3 | vor 4 Jahre, 3 Monate | ||
Redirect change form after input to a spesifique archive content template?
Gestartet von: samuelH
in: Toolset Professional Support
Problem: I would like to redirect Users from Forms to archive pages. Solution: Use the cred_success_redirect API to redirect to other URLs: add_filter('cred_success_redirect', 'custom_archive_redirect_for_forms', 10, 3); function custom_archive_redirect_for_forms( $url, $post_id, $form_data ) { // update this hash to include one line for each form ID and its respective redirect destination URL $redirect_for_forms = array( 'f123' => 'https://yoursite.com/some/archive/url', 'f234' => 'https://yoursite.com/some/other/url', 'f345' => 'https://yoursite.com/yet/another/url' ); // ----- You should not edit below this line ------ // test if the array key exists first, then return the proper URL if the form ID is found in the hash if( array_key_exists( 'f'.$form_data['id'], $redirect_for_forms ) ) { return $redirect_for_forms['f' . $form_data['id']]; } // otherwise, just return the original destination url return $url; } Relevant Documentation: |
2 | 5 | vor 4 Jahre, 3 Monate | ||
last updated date and author
Gestartet von: samuelH in: Toolset Professional Support |
2 | 3 | vor 4 Jahre, 3 Monate |