zacharyL
Fils de soutien créés au cours des 30 derniers jours : 2
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Bad Javascript Call
Commencé par : zacharyL in: Toolset Professional Support |
2 | 10 | Il y a 6 années et 4 mois | ||
Need Help Implementing WooCommerce Price Range Filters to Views Archive
Commencé par : zacharyL in: Toolset Professional Support |
2 | 6 | Il y a 6 années et 4 mois | ||
Toolset Maps Presenting White Page with Errors in a Toolset Single Post Layout
Commencé par : zacharyL
in: Toolset Professional Support
Problem: The issue here is that Toolset Maps was creating errors on the customer's site. Solution: In this user's case they were using an outdated version of our maps plugin and the recommendation was to update to the latest available version. |
2 | 9 | Il y a 6 années et 5 mois | ||
What’s up with .et-boc and .et_builder_inner_content?
Commencé par : zacharyL
in: Toolset Professional Support
Problem: Solution: After many user complaints about side-effects it is expected to be removed in subsequent Divi versions. |
2 | 7 | Il y a 6 années et 5 mois | ||
Having Problem with Restricting File Types on File Upload CRED Field
Commencé par : zacharyL
in: Toolset Professional Support
Problem: I would like to enforce file type restrictions on a file upload field in a Form, but the cred_form_validate hook does not provide any information about the file uploads. Solution: Use the cred_file_upload_disable_progress_bar hook to inspect AJAX file uploads. Inspect the $_FILES superglobal to retrieve file metadata. //*Validate for PDF on File Upload add_filter('cred_form_ajax_upload_validate','cred_filetype_validation',10,2); function cred_filetype_validation($error_fields, $form_data) { $file_types = array('application/pdf','image/jpeg','image/png','image/tiff','image/gif'); // Field data are field values and errors list($fields,$errors)=$error_fields; //Run the rest of code for this CRED ONLY and IF the file is upload type and size are set. if (in_array($form_data['id'], [654,836,848]) && (isset($_FILES['wpcf-pedigree']['type']))) { //Retrieve file type $file_type_uploaded=$_FILES['wpcf-pedigree']['type']; //Validate files uploaded, make sure its PDF file type if (!in_array($file_type_uploaded, $file_types) ) { //Validation failed, // set error message per field //Remove wpcf - prefix here! $errors['pedigree']='Sorry the file you have uploaded is not of the correct type. Accepted file types: pdf, jpg, gif, png, tiff'; } } //return result return array($fields,$errors); } Relevant Documentation: |
2 | 6 | Il y a 6 années et 6 mois | ||
toolset overriding divi javascript on pages using toolset layout
Commencé par : zacharyL in: Toolset Professional Support |
2 | 2 | Il y a 6 années et 6 mois | ||
Location Filter Problems
1
2
Commencé par : zacharyL
in: Toolset Professional Support
Problem: I am trying to use a distance filter in a WordPress Archive but it does not seem to be working. Solution: Distance filters in WordPress Archives are not currently functional. We hope to fully support this feature in an upcoming release, but for now, the best approach is to create a View with a distance filter and insert it in a WordPress Archive. Remove everything in the wpv-loop tags of the Wordpress Archive's Loop Output editor. |
2 | 23 | Il y a 6 années et 7 mois | ||
Automatic Login Upon CRED User Form Submission
Commencé par : zacharyL
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
3 | 4 | Il y a 6 années et 7 mois | ||
Dynamically Populate Taxonomy Term Select Field
Commencé par : zacharyL
in: Toolset Professional Support
Problem: In a CRED form for creating post, We initially had a post taxonomy term select field that was automatically populated based on the page it was on. These industry pages were given the same custom taxonomy we created for the CPT post that was to be created from these forms, and assigned the appropriate taxonomy term to match the term the post needed to go to. The idea was that the user shouldn't have to worry about selecting an option from a "Choose Industry" field when they're already on a page designating the industry they're interested in. We had it working, but for whatever reason it no longer is, so I'm wondering if there was a PHP solution that I could utilize for this case. Solution: There isn't such a built-in feature within CRED forms, see our document: https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_field The argument "value" works only for custom field in CRED form, it does not work for the taxonomy field. As a workaround, you can setup a generic field in the CRED form to replace the taxonomy field: https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_generic_field When user submit the CRED form, you can use CRED action hook "cred_save_data" to trigger a PHP function, and save the "industry" value into database, see documents: https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data This hook allows doing a custom action when post data is saved to database. https://codex.wordpress.org/Function_Reference/wp_set_object_terms See the solution with codes: https://toolset.com/forums/topic/dynamically-populate-taxonomy-term-select-field/#post-900063 Relevant Documentation: |
2 | 9 | Il y a 6 années et 7 mois | ||
Unable to Display Marker with Google Maps Shortcode
Commencé par : zacharyL
in: Toolset Professional Support
Problem: I am trying to display a map on my child post, and insert a marker using the address field of a parent post. The marker is not appearing and the map is showing the ocean. Solution: Ensure the address field is set correctly, and use the id operator and specify the parent post type slug in the marker shortcode: [wpv-map-marker map_id="unit-map" marker_id="unit-marker" marker_field="wpcf-property-address" id="$property"][/wpv-map-marker] Relevant Documentation: |
2 | 5 | Il y a 6 années et 10 mois | ||
Unable to Register Key on Site
Commencé par : zacharyL in: Toolset Professional Support |
2 | 4 | Il y a 7 années |