Mario
Support threads created in the last 30 days: 0
Favorite Forum Topics
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Remove "Operation completed successfully" message after Ajax submission
Started by: michaelB-31 in: Toolset Professional Support |
2 | 3 | 7 years ago |
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Warnings/Errors Deprecated: Required parameter…..
Started by: 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 | 3 years, 3 months ago | ||
The description of a post reference field is not displayed in backend admin form
Started by: Mario in: Toolset Professional Support |
2 | 3 | 3 years, 4 months ago | ||
Distance selection disappears if "Text and placeholders for input" is set
Started by: Mario in: Toolset Professional Support |
2 | 3 | 3 years, 4 months ago | ||
conditional
Started by: Mario in: Toolset Professional Support |
2 | 14 | 3 years, 8 months ago | ||
rendering alternative background image, if it doesn´t exist
Started by: Mario
in: Toolset Professional Support
Problem: Solution: |
2 | 3 | 3 years, 8 months ago | ||
Show fitting post in "View with"-Field of Gutenberg, while edit content template
Started by: Mario in: Toolset Professional Support |
1 | 4 | 3 years, 8 months ago | ||
Error in toolset-common twig_extensions
Started by: 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 | 5 years, 3 months ago | ||
Content Templates with Elementor?
Started by: Mario in: Toolset Professional Support |
5 | 10 | 5 years, 12 months ago | ||
Connect field group to parent with php
Started by: Mario in: Toolset Professional Support |
1 | 2 | 6 years, 2 months ago | ||
Align Layout / CSS with ddl-full-width-row for mobile resolution
Started by: Mario
in: Toolset Professional Support
Problem: Solution: We actually have a way to do this and the instructions can be seen below. |
2 | 7 | 6 years, 9 months ago | ||
Stop using layouts for pages after wp_insert_post
Started by: Mario in: Toolset Professional Support |
2 | 5 | 6 years, 10 months ago | ||
Refused to execute script because its MIME Type
Started by: Mario in: Toolset Professional Support |
1 | 2 | 6 years, 11 months ago | ||
How to save repeating fields with update_post_meta
Started by: 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 | 6 years, 11 months ago | ||
Rrename and move files after upload and prevent adding to media library
Started by: 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 | 6 years, 11 months ago | ||
Fala error: function get() on boolean in ../plugins/wp-views/vendor/toolset/too
Started by: Mario in: Toolset Professional Support |
1 | 2 | 7 years ago |