johnB-37
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 | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Not able to access plug in page
Commencé par : johnB-37 in: Toolset Professional Support |
2 | 3 | Il y a 5 années et 6 mois | ||
Outputting an image based on text field
Commencé par : johnB-37
in: Toolset Professional Support
Problem: I have a custom text field that is used to store the name of a country. I would like to display the flag of that country on the front-end of the site, instead of the text name of the country. Solution: You can construct an image HTML tag using the Types field shortcode as a variable. For example, you can upload images like "Tanzania.jpg" and "Rwanda.jpg" to your server, then build the image tag like this: <img src="/wp-content/uploads/flags/[types field='country' output='raw'][/types].jpg" alt="[types field='country' output='raw'][/types]" /> It only works if the country names and image file names are identical. If possible, you should use a select field with predefined country names. Relevant Documentation: |
2 | 3 | Il y a 5 années et 12 mois | ||
Displaying search form and search results
Commencé par : johnB-37
in: Toolset Professional Support
Problem: The issue here is that the user wanted to create a parametric search. Solution: This can be done by following the instructions in the link below. |
2 | 5 | Il y a 6 années et 1 mois | ||
Checkbox field not searching
Commencé par : johnB-37
in: Toolset Professional Support
Problem: The checkbox filter I added to my custom search View is not filtering the results as expected. Solution: Check to be sure there is a Query Filter associated with the filter control. If not, the filter will not function correctly. Instead of adding the Query Filter manually, delete the filter control from Search and Pagination, then add it back using the New Filter button. The Query Filter will be updated automatically using the correct syntax. |
2 | 3 | Il y a 6 années et 1 mois | ||
Displaying multi-item fields as separate list items
Commencé par : johnB-37
in: Toolset Professional Support
Problem: Solution: For example: <ul> <li>[types field="patent-number" separator="</li><li>"][/types]</li> </ul> Relevant Documentation:=> https://toolset.com/documentation/user-guides/repeating-fields/#Displaying%20Repeating%20Fields |
2 | 9 | Il y a 6 années et 3 mois | ||
Split: Displaying multi-item fields as separate list items – li not rendering on specific page
Commencé par : johnB-37
in: Toolset Professional Support
Problem: Solution: For example: <ul class="list-award"> <li>[types field='awards' separator='</li><li>'][/types]</li> </ul> Relevant Documentation: |
2 | 5 | Il y a 6 années et 3 mois | ||
adding images to view filters
Commencé par : johnB-37
in: Toolset Professional Support
Problem: Solution: There are some hints added in this thread which can help in your case: |
3 | 6 | Il y a 6 années et 3 mois | ||
How to have an empty value in select box
Commencé par : johnB-37
in: Toolset Professional Support
Problem: Set default for value for search field. Solution: When you are adding the fields to your views search you should have the option to set the default values. |
2 | 3 | Il y a 6 années et 3 mois | ||
Emplying layout template
Commencé par : johnB-37 in: Toolset Professional Support |
2 | 5 | Il y a 6 années et 4 mois | ||
Disabling comments
Commencé par : johnB-37
in: Toolset Professional Support
Problem: The issue here is that the user wanted to disable comments for his posts. Solution: You can disable the comments by going to each post and quick edit it and then ensure "allow comments" is not checked. Finally go to Types and edit the CPT to ensure that no more posts created will not have any comments. |
2 | 8 | Il y a 6 années et 6 mois | ||
Links to custom fields
Commencé par : johnB-37
in: Toolset Professional Support
Problem: The issue here is that the user wanted to click his custom fields on the frontend so that they link to other posts with the same values Solution: The only way that I see this possible is to create a view that would take the value of the custom field and filter the view by that custom field for all the other posts that has that field value. So the first thing you need to do is to create a view and set it to the Citations cpt. Click on the Query Filter section then add a filter for this particular custom field. Set the field to get the value from the url. See Screenshot in thread @https://toolset.com/forums/topic/links-to-custom-fields/#post-919008 Once you have done this scroll to the Loop Output section to customize how you want your content to be displayed. Next just create a specific page and then just add this view to the page. To link to this view you will need know the link of the page and then pass the parameter. So the link would be something like this <a href="linktoviewpage/?param=[type field='my-custom-field'][/types]">[type field='my-custom-field'][/types]</a> |
2 | 4 | Il y a 6 années et 6 mois | ||
How do I stop a view output from appearing if there are no results
Commencé par : johnB-37
in: Toolset Professional Support
Problem: The issue here is that the user's view is displaying "No Results Found" but he doesn't want this to display when the view is empty. Solution: This can actually be removed from your view by deleting the text from the view loop output section. |
2 | 5 | Il y a 6 années et 6 mois | ||
Custom sized images not displaying
Commencé par : johnB-37 in: Toolset Professional Support |
2 | 12 | Il y a 6 années et 7 mois | ||
Problem with update Toolset Types – table wp_toolset_relationships doesn’t exist
Commencé par : johnB-37
in: Toolset Professional Support
Problem: I am trying to update to Types 3.0 but I'm seeing an error message that the wp_toolset_relationships table doesn't exist. Solution: Update to Types 3.0.1 |
3 | 12 | Il y a 6 années et 7 mois |