Valeriia
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 |
---|---|---|---|---|---|
Make the date field display the day of the week?
Iniciado por: Valeriia en: Toolset Professional Support |
2 | 3 | hace 6 años, 5 meses | ||
Get post parent with new Post Relationships API (php)
Iniciado por: Valeriia
en: Toolset Professional Support
Problem: I would like to get the parent post Course of the current post Product using the new Post Relationships API, but it doesn't seem to be working. I have tried both of these syntaxes: $course = toolset_get_parent_post_by_type( $product, 'course' ); $courses = get_posts( array( 'post_type' => 'course', 'numberposts' => -1, 'toolset_relationships' => array( 'role' => 'parent', 'related_to' => $product_id, 'relationship' => array( 'course', 'product' ) ), ) ); Solution: In this case, the relationships were created in the new system, so toolset_get_parent_post_by_type is not appropriate. The toolset_get_parent_post_by_type API is intended for use with legacy relationships, or relationships that were migrated from the legacy system. When specifying the relationship to query, the array syntax is intended for legacy relationships as well. The best approach in this case is to use the toolset_get_related_posts API, and the relationship slug instead of the post type slug array: $product = get_post(69); $course = toolset_get_related_post( $product, 'your-relationship-slug', 'parent'); Relevant Documentation: |
2 | 7 | hace 6 años, 5 meses | ||
Don't see the custom fields in the Toolset settings after update to Types 3.0
Iniciado por: Valeriia en: Toolset Professional Support |
2 | 7 | hace 6 años, 5 meses | ||
cURL error 7: Failed to connect to api . toolset . com port 443:
Iniciado por: Valeriia en: Toolset Professional Support |
2 | 9 | hace 6 años, 6 meses | ||
Placeholders not shown, select_text attribute does not work
Iniciado por: Valeriia
en: Toolset Professional Support
Problem: I'm having a couple of problems in CRED: Solution: The select_text attribute is a known issue and will be resolved in CRED 2.0. Placeholders should be added to CRED form fields using the placeholder attribute. |
2 | 5 | hace 6 años, 6 meses | ||
cred_success_redirect breaks the redirect of other forms
Iniciado por: Valeriia
en: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
3 | 4 | hace 6 años, 6 meses | ||
CRED forms seem to reserve the same post ID when opened at the same time
Iniciado por: Valeriia en: Toolset Professional Support |
2 | 8 | hace 6 años, 7 meses | ||
JavaScript error for required image field prevents form from saving
Iniciado por: Valeriia
en: Toolset Professional Support
Problem: The issue here is that the user is unable to submit their edit post form because of a required image field. Even though the image is already in that field. Solution: |
2 | 5 | hace 6 años, 7 meses | ||
Custom post single template stopped being recognized
Iniciado por: Valeriia en: Toolset Professional Support |
1 | 2 | hace 6 años, 8 meses | ||
How to ensure that a file is uploaded before the form is submitted?
Iniciado por: Valeriia
en: Toolset Professional Support
ProblemHow can I make sure that users who submit my Toolset Forms really submit the required data? SolutionYou can make each field required when you set them up or edit them in Toolset > Custom Fields As well generic Toolset form Fields can be set as required. When this is set, a little asterisk will appear next to its label and the form cannot be submitted without any value in them. |
2 | 3 | hace 6 años, 8 meses | ||
Users with custom role are not displayed in the View for not logged-in visitors
Iniciado por: Valeriia
en: Toolset Professional Support
Problem: The issue here is that the user created an additional post but that new post was not showing up in his view that was created. Solution: In this case it was caused by caching. If your website is caching the information then you may need to clear the cache for the new post to start displaying on the frontend in views. |
2 | 5 | hace 6 años, 9 meses | ||
Deregister wcviews-onsalebadge.js?
Iniciado por: Valeriia en: Toolset Professional Support |
2 | 3 | hace 6 años, 10 meses | ||
Disable submit button?
Iniciado por: Valeriia
en: Toolset Professional Support
Problem: Solution: Let me put a code example below with 2 fields. [cred_show_group if="($(first-field) eq '' ) AND ($(second-field) eq '' )" mode='fade-slide'] You need to fill at least... xy fileds... to submit the form [/cred_show_group] [cred_show_group if="($(first-field) ne '' ) OR ($(second-field) ne '' )" mode='fade-slide'] [cred_field field='form_submit' value='Submit' urlparam='' class='btn btn-primary btn-lg' output='bootstrap'] [/cred_show_group] With this, if no field is filled, the Form cannot be submitted and a message is displayed. And, the best is, this all happens before the user even needs to submit the form. Relevant Documentation: |
2 | 3 | hace 6 años, 10 meses | ||
Async form submittion?
Iniciado por: Valeriia en: Toolset Professional Support |
2 | 6 | hace 6 años, 10 meses | ||
Fatal error on saving a post (CPT) via admin
Iniciado por: Valeriia en: Toolset Professional Support |
2 | 2 | hace 6 años, 11 meses |