Mario
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Remove "Operation completed successfully" message after Ajax submission
Gestartet von: michaelB-31 in: Toolset Professional Support |
2 | 3 | vor 7 Jahren |
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Warnings/Errors Deprecated: Required parameter…..
Gestartet von: Mario
in: Toolset Professional Support
Problem: When Toolset plugins are active I see in the error logs several PHP deprecation notices related to required parameters following optional parameters, similar to this: Deprecated: Required parameter $in follows optional parameter $method in \wp-content\plugins\wp-views\embedded\inc\wpv-query-debug.class.php on line 417 Solution: |
3 | 5 | vor 3 Jahren, 3 Monaten | ||
The description of a post reference field is not displayed in backend admin form
Gestartet von: Mario in: Toolset Professional Support |
2 | 3 | vor 3 Jahren, 4 Monaten | ||
Distance selection disappears if "Text and placeholders for input" is set
Gestartet von: Mario in: Toolset Professional Support |
2 | 3 | vor 3 Jahren, 5 Monaten | ||
conditional
Gestartet von: Mario in: Toolset Professional Support |
2 | 14 | vor 3 Jahren, 8 Monaten | ||
rendering alternative background image, if it doesn´t exist
Gestartet von: Mario
in: Toolset Professional Support
Problem: Solution: |
2 | 3 | vor 3 Jahren, 9 Monaten | ||
use shortcode in Toolset blocks
Gestartet von: Mario in: Chat Support |
1 | 7 |
vor 3 Jahren, 9 Monaten
|
||
Show fitting post in "View with"-Field of Gutenberg, while edit content template
Gestartet von: Mario in: Toolset Professional Support |
1 | 4 | vor 3 Jahren, 9 Monaten | ||
Error in toolset-common twig_extensions
Gestartet von: Mario
in: Toolset Professional Support
Problem: Fatal error because of Twig dependencies. Fatal error: Uncaught TypeError: Argument 1 passed to Twig\Environment::addFunction() must be an instance of Twig\TwigFunction, string given Solution: Update to Types 3.3.3 |
3 | 11 | vor 5 Jahren, 3 Monaten | ||
Content Templates with Elementor?
Gestartet von: Mario in: Toolset Professional Support |
5 | 10 | vor 6 Jahren | ||
Connect field group to parent with php
Gestartet von: Mario in: Toolset Professional Support |
1 | 2 | vor 6 Jahren, 2 Monaten | ||
Align Layout / CSS with ddl-full-width-row for mobile resolution
Gestartet von: Mario
in: Toolset Professional Support
Problem: Solution: We actually have a way to do this and the instructions can be seen below. |
2 | 7 | vor 6 Jahren, 10 Monaten | ||
Stop using layouts for pages after wp_insert_post
Gestartet von: Mario in: Toolset Professional Support |
2 | 5 | vor 6 Jahren, 10 Monaten | ||
Refused to execute script because its MIME Type
Gestartet von: Mario in: Toolset Professional Support |
1 | 2 | vor 6 Jahren, 11 Monaten | ||
How to save repeating fields with update_post_meta
Gestartet von: Mario
in: Toolset Professional Support
Problem: When I save repeating field values with update_post_meta, all the repeating fields get set to the value of the last original repeating field in the database. I'm using the following code: $fields = get_post_meta($post_id, 'wpcf-field-repeating'); .... some changes to $fields ... foreach ($fields as $single_value ) { update_post_meta($post_id, 'wpcf-field-repeating', $single_value); Solution: Be sure to provide the 4th parameter to the update_post_meta function to update a single instance of a repeating field, otherwise all instances will be set to the same value. Example: $prev_value = (previous value of this instance); update_post_meta($post_id, 'wpcf-field-repeating', $single_value, $prev_value); Another option would be to delete all values of this repeating field first, then insert all the new values. Relevant Documentation: https://codex.wordpress.org/Function_Reference/update_post_meta#Parameters |
3 | 5 | vor 6 Jahren, 12 Monaten | ||
Rrename and move files after upload and prevent adding to media library
Gestartet von: Mario
in: Toolset Professional Support
Problem: After successfull uploads, i want to move and rename the files to a different file-directory (with a little bit php-code via the cred_submit_complete hook). Don´t want to use hooks like "wp_handle_upload_prefilter", "upload_dir", or "cred_form_ajax_upload_validate". After that i have to update the custom repeating field with the new renamed file-paths and file-names. Unfortunatelly the upload-function by toolset will add the files to the media library automatically and i don´t want that. So my two questions are 1. Is the hook the right place for renaming, moving and updating uploaded files? Solution: Q2) How do i prevent to attach files to the media library? For example, use action hook "cred_submit_complete" to trigger a custom PHP function, in this PHP function, get the file/image field value For your reference. Relevant Documentation: |
2 | 4 | vor 6 Jahren, 12 Monaten |