zacharyL
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Toolset Maps Presenting White Page with Errors in a Toolset Single Post Layout
Iniciado por: zacharyL
en: 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 | hace 6 años, 4 meses | ||
What’s up with .et-boc and .et_builder_inner_content?
Iniciado por: zacharyL
en: Toolset Professional Support
Problem: Solution: After many user complaints about side-effects it is expected to be removed in subsequent Divi versions. |
2 | 7 | hace 6 años, 4 meses | ||
Having Problem with Restricting File Types on File Upload CRED Field
Iniciado por: zacharyL
en: 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 | hace 6 años, 5 meses | ||
toolset overriding divi javascript on pages using toolset layout
Iniciado por: zacharyL en: Toolset Professional Support |
2 | 2 | hace 6 años, 5 meses | ||
Location Filter Problems
1
2
Iniciado por: zacharyL
en: 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 | hace 6 años, 6 meses | ||
Automatic Login Upon CRED User Form Submission
Iniciado por: zacharyL
en: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
3 | 4 | hace 6 años, 6 meses | ||
Dynamically Populate Taxonomy Term Select Field
Iniciado por: zacharyL
en: 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 | hace 6 años, 6 meses | ||
Unable to Display Marker with Google Maps Shortcode
Iniciado por: zacharyL
en: 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 | hace 6 años, 9 meses | ||
Unable to Register Key on Site
Iniciado por: zacharyL en: Toolset Professional Support |
2 | 4 | hace 6 años, 11 meses | ||
CRED Form Submitted Custom Taxonomy for Custom Post Type
Iniciado por: zacharyL en: Types Community Support |
2 | 5 | hace 7 años | ||
Site Options Pages using Types Fields
Iniciado por: zacharyL en: Toolset Professional Support |
6 | 7 | hace 7 años, 3 meses | ||
Clicking "Save" on Divi Visual Builder clears Toolset Layout selection for Page
Iniciado por: zacharyL en: Toolset Professional Support |
2 | 7 | hace 7 años, 3 meses | ||
«Single Product» template is missing it’s Product Description
Iniciado por: zacharyL
en: Toolset Professional Support
Problem: I use Divi, WooCommerce, and Toolset plugins together. When I activate WooCommerce Views and select the WC Views template for single Products, I am no longer able to see the Product's Long Description in the single Product page. Solution: Use the post body shortcode inside your single Product Content Template to display the long description: [wpv-post-body view_template="None"] Relevant Documentation: https://toolset.com/documentation/user-guides/getting-started-woocommerce-views/ |
2 | 5 | hace 7 años, 3 meses | ||
Divi Theme Integration for Power Users
Iniciado por: zacharyL en: Toolset Professional Support |
2 | 3 | hace 7 años, 3 meses | ||
New Divi Integration & WooCommerce Views Issues
Iniciado por: zacharyL en: Toolset Professional Support |
2 | 12 | hace 7 años, 3 meses |