A few other question - How do I get the child to automatically update the parent's related information section?
The examples/walkthrough are not exactly what I'm trying to do. What I need to do is, in my view,show all the parents EXCEPT when their is a child (or children), and then show the most recent child entry only in the list.
So if i have a list of cars:
Red Honda Accord Space 1
Blue Chevy Monte Carlo Space 2
Green Toyota Solara Space 10
And someone updates the info for the Blue Chevy, then that entry is replaced with the new 'post' infor for the update.
Red Honda Accord Space 1
Blue Chevy Monte Carlo Space 19
Green Toyota Solara Space 10
And so on....
Thanks!
Hello,
It needs a nested views, for example:
1) Parent post view:
- Query "vehicles" posts
- in view's loop, display "vehicles" post title + below child post view
2) Child post view:
- Query "vehicles movement" posts
- order by post date DESC, display only one item
- Filter by post type relationship between "vehicles" and "vehicles movement"
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/#displaying-many-related-items
- in view's loop, display "vehicles movement" post information
I think you misunderstood my question. This is less about the 'view/frontend' and more about the backend. In the record there is a section created by relationship. When I create a new record for the child it should have an entry for the parent (and vice versa) in that section. But it doesn't. Am I doing something wrong?
Sorry for the misunderstanding, the problem you mentioned above is abnormal, it when you add an item in relationship section, it should have an entry for the parent, please check the same steps as I mentioned in previous thread:
https://toolset.com/forums/topic/new-entry-tracking/#post-1690855