New relationship features are now available in Toolset reference sites
Toolset training and reference sites have been updated so that the new Toolset features can be used, especially the new relationships. The Framework Installer plugin runs faster now, and reference sites can be generated in less than a minute.
New Toolset features in reference sites
All of our reference sites have been updated to the new versions of Toolset’s plugins. Some of these sites use new post relationships.
One-to-many relationships and many-to-many relationships
The Real Estate site now uses both one-to-many and many-to-many relationships.
Here is an example of the many-to-many relationship we have added to the agents and the apartments.
When you are visiting a single agent page, you can see all the apartments managed by this agent (Fig 2). Similarly, when you view a single apartment page, you can see all the agents assigned to this apartment (Fig 3).
Post relationships used in a search
The State and City post types in the Real Estate site also make a relationship, and they can be used in searches:
Create your own copy of the Real Estate site to see how filters have been set up.
One-to-many relationship used in Toolset Forms
On the membership site, a user can sign up for a webinar through front-end forms. Webinars and webinar participations have a one-to-many relationship.
Visit the membership site to check how you can use one-to-many relationships in forms.
Framework Installer runs faster
The Framework Installer plugin has been refactored. Now you can create a copy of any of the reference sites faster, both in our discover-wp.com service and in your own WordPress install.
What else would you like to see in reference sites?
Are there any other cases related to the new Toolset features that you would like us to cover in reference sites? Please let us know in the comments.
Hi Agnes,
Do you have training with a training site that runs through building front-end forms for connecting posts?
Hi Stephen,
thank you for your question. We don’t have any actual training site covering what you are asking about but this is covered partially in this tutorial https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/allowing-members-sign-special-activities/ and implemented in the membership site: https://discover-wp.com/site-types/membership-layouts/
Thanks Agnes,
I have a few test membership sites set up already and a few test sites locally and will have a look once I get through what I am doing with those.
Hi Agnes,
I have been looking at the Post Relationships documentation today to get some ideas and while it is informative it is confusing in how it jumps between Songs/Albums and Airports/Departures/Arrivals. This just leads to a lack of continuity in trying to figure out how it is supposed to work. From past experience using the training with the training sites has a step by step approach that is coherent.
I am trying to run trough setting up songs and albums types with a many to many relationship so that I can get to the section that deals with front-end forms for connecting posts. The flow is being interrupted when it introduces the airports etc.
I also don’t know what fields I should make in advance for albums and songs. I see composers (George Harrison & John Lennon) but not sure wether the field should be applied to a song or album. There is a track number in the digram between songs and albums. I am guessing that this should be in the middle type of the many-to-many relationship of song and albums but how/where is this filled in?
Obviously we should be able to work this out but in context to documentation everything should be explicitly outlined for the sake of frictionless learning. Have one run through of Albums/Songs and then Airports/flights/arrivals/Departures.
I am using Amir’s preview video from the 5th December 2017 to get a run through of how to set up the relationship types:
https://toolset.com/2017/12/types-and-views-betas-with-many-to-many-relationships/
It might be an idea to have these in the documentation as well.
Thank you for your feedback Stephen. I will pass it on to the person who recorded the video and I’m sure that the next one will fill the void. As I explained in my previous comment we don’t have anything in our training sites for the relationships used in forms (just the one in the membership site which doesn’t reflect your case) but we will take that into consideration for the next update in our reference site. For example, we already know that we are missing some examples of using the repeating field groups.
There was in fact a video on the – How to display related posts with Toolset – page, an update of what Amir had made in December. Just spotted it yesterday.
Yes, I was wondering about using the repeating field groups, heading toward those in my journey through the Toolset jigsaw. You think you know everything and, then there is an update and a lot of new and interesting things to learn!
Not complaining. Keep up the good work.
Long live to Toolset !