Skip Navigation

[Resolved] Trying to group results by relationship with a Header with title and PDF above

This support ticket is created 5 years, 8 months 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 5 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#1213488

Tell us what you are trying to do? Want to group results by relationship "Series". Issue is that my Series relationship either displays on all views or none. Can't find a way to make it so that the Series results show on the correct view.

Is there any documentation that you are following? Could not find anything on this.

Is there a similar example that we can see? hidden link

What is the link to your site? hidden link

#1213561

Hello,

Please elaborate the question with more details:
Issue is that my Series relationship either displays on all views or none. Can't find a way to make it so that the Series results show on the correct view.

How do you setup the post types and relationship?
How do you setup the pdf file? is it a custom file field? how do you setup it? registered to which post type?
How do you want to display the "group results by relationship with a Header with title and PDF above"?

Thanks

#1213892

Hi Luo,

- I would like to display the "models" grouped together by their relationship of "series" on the "community" page view.

- When I created a custom view for the relationship of Series/Models I see the correct results but can't seem to get it to display only on the correct community page.

Example: Heritage Series for Tierra del Este 76 is displaying on both.
hidden link
- and -
hidden link

How can I get Heritage Series for Tierra del Este 76 to display only on it's intented page of hidden link ?

#1214042

It is not clear, I am not sure how do you setup the post types, relationships and custom fields.

I assume we are talking about many-to-many relationship between post types "community" and "models", you are going to display related "models" posts in a single "community" post, if it is, you can create a post view:
- Query "models" posts
- filter by post type relationship
- in view's loop, display the "models" post information

See our document:
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/#displaying-many-related-items

section "Displaying many related items"