matteoM-6
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 |
---|---|---|---|---|---|
View not showing correct information
Started by: matteoM-6
in: Toolset Professional Support
Problem: I have two Views displaying different custom fields of a case study. The first View (Hero) works correctly, but the second View (Credits) is displaying data from a different post instead of the current case study. The Views are configured the same way, so I don’t understand why one works and the other doesn’t. Solution: In the Template section of the Credits View, use the shortcode [types field='credits' item='$current_page'] to ensure the field pulls data from the current page instead of another post. This issue occurs because when a View is placed directly on a page, it does not automatically inherit the post context like it would in a post template. Generating the shortcode via the Fields and Views button ensures the correct attributes are included. |
|
1 | 8 | 5 months, 3 weeks ago |