klausB
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
| Status | Topic | Supporter | Voix | Publications | Nouveauté |
|---|---|---|---|---|---|
|
call the Form validation function without Submit event
Commencé par : klausB in: Toolset Professional Support |
|
1 | 6 | Il y a 8 months, 4 weeks | |
|
i want to hide Uploaded Files in the media Library
Commencé par : klausB in: Toolset Professional Support |
|
1 | 2 | Il y a 1 year | |
|
Assistance Needed with Custom File Uploads in Toolset Forms
1
2
Commencé par : klausB
in: Toolset Professional Support
Problem: The customer wanted to enable users to upload files (resumes and certificates) via a Toolset form and store these files in a custom directory (/wp-content/bewerbungsunterlagen) rather than the default uploads folder. The initial code attempts failed, saving files in the standard uploads directory. Solution: We suggested refining the upload_dir filter to ensure it only applies when necessary and removed afterward to avoid conflicts. Additionally, the permissions for the custom post type 'Bewerbungen' were adjusted in Toolset > Access Control to allow guest users to upload files without needing to log in. To prevent WordPress from generating thumbnails for PDF files, a code snippet was added to the functions.php file to disable PDF previews:
function wp_disable_pdf_previews() {
$fallbacksizes = array();
return $fallbacksizes;
}
add_filter('fallback_intermediate_image_sizes', 'wp_disable_pdf_previews');
|
|
2 | 17 | Il y a 1 year, 3 months | |
|
Baskets don't work
Commencé par : klausB in: Toolset Professional Support |
2 | 3 | Il y a 3 years, 3 months | ||
|
Conditional viewing based on a minimum age of 18 / CRED form
Commencé par : klausB in: Toolset Professional Support |
|
2 | 5 | Il y a 3 years, 4 months |