Max
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é |
---|---|---|---|---|---|
Disable the wrapping DIV around the View does not work after update (js errors)
Commencé par : Max in: Toolset Professional Support |
2 | 5 | Il y a 5 années et 9 mois | ||
Problem with and Infinite Scroll
Commencé par : Max
in: Toolset Professional Support
Problem: I would like to show the total number of results shown on the page in a View that uses Infinite Scrolling, but the wpv-items-count shortcode is not updated when more results are added by Infinite Scrolling. Solution: The wpv-items-found shortcode isn't designed to be used with automatic pagination or Infinite Scrolling. The only way to do this is to use custom JavaScript that hooks into the pagination event. Add a unique ID to the span around the wpv-items-count shortcode: Отображается <span id="current-list-count">[wpv-items-count]</span> боев из [wpv-found-count] Then in the View's Search and Pagination JS editor, add the custom event code: jQuery( document ).on( 'js_event_wpv_pagination_completed', function( event, data ) { count = jQuery('.fight-item').length; jQuery('#current-list-count').text( count ); }); Relevant Documentation: |
2 | 3 | Il y a 6 années et 3 mois | ||
Finding associations in your recent CSV import – status of 500 ()
Commencé par : Max in: Toolset Professional Support |
2 | 3 | Il y a 6 années et 4 mois | ||
Query fields of related posts
Commencé par : Max in: Toolset Professional Support |
2 | 7 | Il y a 6 années et 4 mois | ||
Inaccuracy in the documentation of import Post Relationships
Commencé par : Max
in: Toolset Professional Support
Problem: In the document: The csv file column header, it is now: It should be: Solution: The document is fixed. Relevant Documentation: https://toolset.com/documentation/user-guides/importing-content-from-csv-with-post-relationships/ |
2 | 4 | Il y a 6 années et 5 mois | ||
Cred does not respect the select_text parameter
Commencé par : Max
in: Toolset Professional Support
Problem: CRED does not respect the select_text parameter in the cred_field shortcode. Solution: Update to Toolset Forms 2.0 to get the fix for this issue. |
2 | 5 | Il y a 6 années et 6 mois | ||
Split: MMA Database Design with the help of Toolset
Commencé par : Max
in: Toolset Professional Support
Problem: Many-to-many relationship between post types "fighters" and "fight", I have 2 fighters - Max and Andre. How can I show Max's Title when I look at Andre's profile? What settings do I need to make this work? P.S. Max and André - 2 fighters in a single fight Solution: It needs a nested view, for example, filter by: And display below child view: 2) Child view get related "fighter" post exclude current "fight" post: in section "Query Options", enable option "Don't include current page in query result" filter by: 3) Put the parent view into a single "fighter" post: <hr /> <h2>Show related fighter's Title</h2> [wpv-view name="related-fights-of-current-fighter-parent-view"] Please test it, check if it is what you want. thanks Relevant Documentation: |
2 | 4 | Il y a 6 années et 6 mois | ||
MMA Database Design with the help of Toolset
Commencé par : Max
in: Toolset Professional Support
Problem: I'm trying to create a functional MMA fights. (example.png) I created CPTs -tournament (event), fight, fighter. But I'm stuck in some aspects. When I create a fight in backend, I choose two fighters (fight-fighters.jpg). Also I created select fields to this relationship: 1. Here I have the first question. Am I on the right track? It's a little uncomfortable...After all, it's somewhat inconvenient to choose a "win" for one fighter and "loss" for another, the same for "method" .. You can get confused. Maybe I'm doing something wrong? What structure would you recommend? 2. To display the relationship fields, I had to use the view, because in the content template for the fighter, this field did not output anything. Am I doing the right thing? Things have changed a bit in Toolset, and I want to adapt to new improvements and use the plugins correctly. Solution: Q1) I think your are on the right track, since one "fight" can connect to 2 "fighter" posts, and one "fighter" post can connect to multiple "fight" posts, you can setup many-to-many relationship between "fight" and "fighter" custom post types. Q2) I have tested it in my localhost be below steps, it works fine: 1) Create two post type "fight" and "fighters", setup many-to-many "fight-fighter" relationship between them 2) Create a view, list posts of post type "fights fighters Intermediary Posts" 3) Filter by post type relationship: Select posts in a fights fighters relationship that are related to the Post where this View is shown. see screenshot: filter.JPG https://cdn.toolset.com/wp-content/uploads/2018/05/904763-filter.JPG 4) in the "Loop Editor" section, display the result as below: [wpv-post-link item="@fight-fighter.parent"] | [wpv-post-link item="@fight-fighter.child"] | [types field="result"][/types] | [types field="method"][/types] Then put above view into a single "fight" post, it works fine. Relevant Documentation: |
2 | 10 | Il y a 6 années et 6 mois | ||
Title of post from the select field (cred save data)
Commencé par : Max
in: Toolset Professional Support
Problem: Get custom select field option displayed text instead of the value. Solution: You can try the Types API function types_render_field(), for example: $ploshhad = types_render_field("ploshhad", array( 'post_id' => $post_id)); Relevant Documentation: https://toolset.com/documentation/customizing-sites-using-php/functions/ |
2 | 3 | Il y a 6 années et 7 mois | ||
Datepicker on a front-end Views filter does not show translation
Commencé par : Max
in: Toolset Professional Support
Problem: Solution: |
2 | 12 | Il y a 6 années et 7 mois | ||
Issue where the conditional display of custom fields in Repeatable Field Groups
Commencé par : Max in: Toolset Professional Support |
2 | 3 | Il y a 6 années et 8 mois | ||
Custom grouping in a loop
Commencé par : Max
in: Toolset Professional Support
Problem: The issue here is that the user had a custom grouping that he wanted to achieve. Solution: Views is possible to do custom groupings, rather simple custom groupings but anything complex won't be possible. |
2 | 3 | Il y a 6 années et 8 mois | ||
Post relationship don't appear in Types GUI
Commencé par : Max in: Toolset Professional Support |
2 | 11 | Il y a 6 années et 8 mois | ||
Post Fields Conditional Display does not work in types.2.3-b5
Commencé par : Max
in: Toolset Professional Support
Problem: Solution: |
2 | 3 | Il y a 6 années et 8 mois | ||
Shortcode for post reference field
Commencé par : Max
in: Toolset Professional Support
Problem: The issue here is that the customer wanted to know if it was possible to display the post reference field on the intermediary CPT. Solution: Unfortunately this is not yet possible in our Betas. So the reference field you wouldn't be able to display as yet. This functionality should be coming in a future update when we are Pushing the new relationships API |
2 | 3 | Il y a 6 années et 9 mois |