johnB-37
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Not able to access plug in page
Started by: johnB-37 in: Toolset Professional Support |
2 | 3 | 5 years, 4 months ago | ||
Outputting an image based on text field
Started by: 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 | 5 years, 9 months ago | ||
Displaying search form and search results
Started by: 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 | 5 years, 11 months ago | ||
Checkbox field not searching
Started by: 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 | 5 years, 11 months ago | ||
Displaying multi-item fields as separate list items
Started by: 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 | 6 years, 1 month ago | ||
Split: Displaying multi-item fields as separate list items – li not rendering on specific page
Started by: 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 | 6 years, 1 month ago | ||
adding images to view filters
Started by: johnB-37
in: Toolset Professional Support
Problem: Solution: There are some hints added in this thread which can help in your case: |
3 | 6 | 6 years, 1 month ago | ||
How to have an empty value in select box
Started by: 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 | 6 years, 1 month ago | ||
Emplying layout template
Started by: johnB-37 in: Toolset Professional Support |
2 | 5 | 6 years, 1 month ago | ||
Disabling comments
Started by: 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 | 6 years, 4 months ago | ||
Links to custom fields
Started by: 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 | 6 years, 4 months ago | ||
How do I stop a view output from appearing if there are no results
Started by: 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 | 6 years, 4 months ago | ||
Custom sized images not displaying
Started by: johnB-37 in: Toolset Professional Support |
2 | 12 | 6 years, 4 months ago | ||
Problem with update Toolset Types – table wp_toolset_relationships doesn’t exist
Started by: 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 | 6 years, 4 months ago |