New relationship features are now available in Toolset reference sites

June 8, 2018

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.

 

Fig 1. Many-to-many relationship between agents and apartments
Fig 1. Many-to-many relationship between agents and 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).

Fig 2. An agent and the apartments managed by her
Fig 2. An agent and the apartments managed by her

Fig 3. An apartment and the agents assigned to it
Fig 3. An apartment and the agents assigned to it

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:

Fig 4. Post relationships in a search
Fig 4. Post relationships in a search

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.

Fig 5. One-to-many relationship between Webinars and Webinar participations
Fig 5. One-to-many relationship between Webinars and Webinar participations

Fig 6. Front-end form for posts connected via a one-to-many relationship
Fig 6. Front-end form for posts connected via a one-to-many relationship

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.

Fig 7. Toolset Framework Installer plugin has been revamped
Fig 7. Toolset Framework Installer plugin has been revamped

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.

 

Comments 8 Responses

  1. Hi Agnes,

    Do you have training with a training site that runs through building front-end forms for connecting posts?

  2. 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.

    • 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.