davidm-13
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 |
---|---|---|---|---|---|
display blank field if item in wpv-loop equals previous item
Started by: davidm-13
in: Toolset Professional Support
Problem: I have a table-style View that displays several columns of custom field values. I would like to use a conditional that hides the value in a specific column if the value is identical to the same column in a previous row. Solution: When the loop is rendered, each iteration has no reference to a previous or future iteration. That means it's not possible to set up a conditional that compares a value from one iteration to a value in another iteration. Instead, you would have to do this with custom CSS and JavaScript. For example, add a custom class to each system-cf cell, and a wrapper span tag like this: <td class="only-first-system-cf"><span>[wpv-post-field name="wpcf-system-cf"]</span></td> Then in your custom CSS: .only-first-system-cf > span { display:none; } .only-first-system-cf.first > span { display:inline; } Then in your custom JS: jQuery(document).ready(function(){ var firsts = []; var txt = ''; jQuery('.only-first-system-cf').each(function(index, item) { txt = jQuery(item).text(); if(firsts.indexOf(txt) == -1){ firsts.push(txt); jQuery(item).addClass('first'); } }); }); Relevant Documentation: |
2 | 3 | 6 years, 3 months ago | ||
Using toolset_connect_posts function
Started by: davidm-13 in: Toolset Professional Support |
2 | 6 | 6 years, 3 months ago | ||
recommended way to import posts with custom fields and taxonomy’s
Started by: davidm-13
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 5 | 6 years, 3 months ago | ||
display parent post with detailed listing of all its children
Started by: davidm-13 in: Toolset Professional Support |
2 | 14 | 6 years, 3 months ago | ||
sort output from view by taxonomy fields
Started by: davidm-13
in: Toolset Professional Support
Problem: I need the posts to be sorted by field A within field B. The problem is that both field A and B are taxonomies. Is there a recommended workaround to achieve this? Solution: There isn't such a built-in feature to convert term fields to post fields, in your case, the post fields is required to sort the view's result. So you might need to consider custom codes, for example: https://toolset.com/forums/topic/sort-output-from-view-by-taxonomy-fields/#post-1096668 Relevant Documentation: |
2 | 4 | 6 years, 3 months ago | ||
Displaying related child posts
Started by: davidm-13 in: Toolset Professional Support |
2 | 2 | 6 years, 3 months ago | ||
export post id and title of custom posts in csv format
Started by: davidm-13 in: Toolset Professional Support |
1 | 2 | 6 years, 4 months ago | ||
after editing with elementor page switches to layouts template for pages
Started by: davidm-13 in: Toolset Professional Support |
2 | 8 | 6 years, 4 months ago | ||
The list of published Layouts has disappeared
Started by: davidm-13
in: Toolset Professional Support
Problem: The list of Layouts has disappeared from Toolset > Layouts. Solution: Clear cache and cookies, log out and log back in. If any Layouts are missing, find their IDs and edit them manually in wp-admin by accessing this URL: |
3 | 7 | 6 years, 5 months ago | ||
passing parameters to wpv-view
Started by: davidm-13 in: Toolset Professional Support |
2 | 3 | 6 years, 5 months ago | ||
retrieve custom post that contains the taxonomy
Started by: davidm-13 in: Toolset Professional Support |
2 | 3 | 6 years, 5 months ago | ||
create view which can be reused to populate several dropdown lists
Started by: davidm-13 in: Toolset Professional Support |
2 | 10 | 6 years, 5 months ago | ||
Reuse same view with different settings – where is this screen
Started by: davidm-13
in: Toolset Professional Support
Problem: I would like to reuse the same View in multiple situations with different settings. In the documentation I see a dialog with options for overriding some settings, but I cannot find it on my site. Solution: The options dialog appears when you insert a View using the Fields and Views button above any editor panel. |
2 | 3 | 6 years, 5 months ago | ||
populate drop-down list with custom field type single-line text
Started by: davidm-13 in: Toolset Professional Support |
2 | 5 | 6 years, 5 months ago | ||
English an Arabic content imported to posts correctly, Hebrew content blank
Started by: davidm-13 in: Toolset Professional Support |
1 | 2 | 6 years, 5 months ago |