Skip Navigation

[Resolved] Subviews

This support ticket is created 5 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by Robert Mueller 5 years ago.

Assisted by: Minesh.

Author
Posts
#1648197

Dear Madam or Sir,

I created toolset types "Work" and "Movement"which are related via a one-to-many relationship in the sense that a musical work consists of several movements. I created a FE template to show the information about a work, and in this now want to display all movements belonging to the shown work. In the "Work" template, I inserted a view showing movements, but I did not find any way to tell the system to show only the movements which are related to the shown work by the above relationship. In former versions of Toolset this was pretty easy to achieve by specifying a filter saying just display objects for which the currently shown object is the parent object, but I can't find a way to specify this with the new block editor system and I did not find any hint in the documentation.

Could you please help? Thank you very much.

Robert

#1648353

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

With the Block view - To add the post-relationship query filter, you should navigate to Block navigation icon and click on that and then select your view block and on right sidebar you will see the "Query Filter' tab from where you should try to add your post-relationship filter.

Please check the following screenshot:
=> hidden link

More info:
=> https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/#displaying-many-related-items

#1649681

My issue is resolved now. Thank you!