rexJ-2
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 |
---|---|---|---|---|---|
user relation to CPT
Started by: rexJ-2 in: Toolset Professional Support |
2 | 3 | 5 years, 11 months ago | ||
how to add counter to views
Started by: rexJ-2 in: Toolset Professional Support |
1 | 2 | 6 years ago | ||
Use a javascript variable together with conditional output
Started by: rexJ-2
in: Toolset Professional Support
Problem: The issue here is that the user wanted to add JS code to our conditional statements Solution: Unfortunately it is not possible to add javascript code to our conditional statements |
2 | 11 | 6 years, 1 month ago | ||
datetime field not working in query
Started by: rexJ-2 in: Toolset Professional Support |
2 | 4 | 6 years, 1 month ago | ||
Relationship use title in the dropdown i want to use a custom post type
Started by: rexJ-2 in: Toolset Professional Support |
3 | 4 | 6 years, 2 months ago | ||
View search and result how to get result to a file
Started by: rexJ-2
in: Toolset Professional Support
Problem: I want to get all fields from the view and put them into a textfile.txt Solution: It needs custom codes, I suggest you use Views function get_view_query_results() to get all the view's result, then put the data into your file. Relevant Documentation: https://toolset.com/documentation/programmer-reference/views-api/#get_view_query_results |
2 | 8 | 6 years, 2 months ago | ||
Split: View search and result how to get result to a file
Started by: rexJ-2
in: Toolset Professional Support
Problem: get_view_query_results(), seems that it only get an array of post records. How do i get Post_meta? Is it in foreach loop? Solution: This is a custom PHP codes problem, check the detail answer here: Relevant Documentation: https://developer.wordpress.org/reference/functions/get_post_custom/ |
2 | 3 | 6 years, 2 months ago | ||
Modal Edit button on View loop editor
Started by: rexJ-2
in: Toolset Professional Support
Problem: I would like to include an edit post Form in a View of posts, and I would like to show the Form in a modal. Solution: I suggest to add the Modals button to the View loop: <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal"> Launch demo modal </button> Note that you NEED to modify that HTML, so the unique referrers are --- unique. So the above code becomes: <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#[wpv-post-id]-modal"> Launch demo modal </button> We changed data-target= from "#myModal" (not unique in a loop, as repeated) to "#[wpv-post-id]-modal", which will generate a new unique ID for each post in the loop. Then, add the modal code as well to the loop: <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="myModalLabel">Modal title</h4> </div> <div class="modal-body"> ... </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary">Save changes</button> </div> </div> </div> </div> Again, you NEED to change the particular unique values, so the code becomes: <div class="modal fade" id="[wpv-post-id]-modal" tabindex="-1" role="dialog" aria-labelledby="[wpv-post-id]-modalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="[wpv-post-id]-modalLabel">Modal title</h4> </div> <div class="modal-body"> //Here place the Toolset Form to edit the CURRENT displayed post </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary">Save changes</button> </div> </div> </div> </div> That, will load for each post in the loop a new button, which if clicked, loads a Modal, which will have the proper form in it. However, be careful with this. |
3 | 5 | 6 years, 3 months ago | ||
">cannot apply styling to
Started by: rexJ-2
in: Toolset Professional Support
Problem: I would like to add a border radius to my featured image, but I cannot see how to add styles to the wpv-post-featured-image shortcode. Solution: Use the "class" attribute on the wpv-post-featured-image shortcode to insert a custom CSS class, then write your custom CSS for that class in a custom theme file, in the theme customizer's Additional CSS block, or in a View's CSS editor, Content Template's CSS editor, or Layouts CSS. [wpv-post-featured-image class="my-custom-rounded-class"] .my-custom-rounded-class { border-radius: 15px; } Relevant Documentation: |
2 | 5 | 6 years, 3 months ago | ||
Compatibility Between Toolset Plugins and Elementor Pro
Started by: rexJ-2
in: Toolset Professional Support
Problem: Solution: |
4 | 6 | 6 years, 5 months ago | ||
Where do post_id and form_data come from and how to set
Started by: rexJ-2 in: Types Community Support |
2 | 9 | 6 years, 11 months ago | ||
url var ?post is that equal to $post_id when used dynamically
Started by: rexJ-2 in: Toolset Professional Support |
2 | 4 | 6 years, 11 months ago | ||
help to find missing relationship submenu button from menu toolset
Started by: rexJ-2 in: Toolset Professional Support |
2 | 3 | 6 years, 11 months ago |