I had created a relationship "concepts to Mots" without creating Intermediary posts.
- I need now to add Intermediary Posts for this relationship as I would like to add a Taxonomy to the relationship. (Is it possible, taxonomy to relationship?)
- I was told to delete the relationship and re-create it, but I noticed that on the relationship admin page under "Intermediary Post Types and Custom Fields" I have an option to add/link an Intermediary Posts Type, so I created a new post type called "Concepts to Mots Intermediary Posts" and I added to the Relationship "Concepts to Mots". I can also add a taxonomy to this new Intermediary Posts Type.
When looking at existing "intermediary posts" created by Toolset I noticed that "Taxonomies are not allowed for this special-purpose post type." So I am a bit confused.
By using a Intermediary Post Type that I created I can use a taxonomy on it, but with Intermediate post type created by Toolset I cannot add a taxonomy. Why? and is there a limitation when creating views for this relationship? Thank you
Where do you see this page "Intermediary Post Types and Custom Fields"?
In the Toolset Dashboard, we only feature Custom and inbuilt Types, in sections, not their relationships or fields (the fields are within the sections)
Related to the question about how to add an Intermediary Post Type to a Relationship, which is allowed only on M2M relations, and also not removable there, I am confused.
You can't remove the intermediary from M2M relations, and you can't add one to lower than M2M relations.
Can I see the ticket where you were instructed to delete the relation and add a new one so to add an intermediary Post type?
It should mention that you should create an M2M relation, as otherwise, you cannot create an intermediary type.
On intermediary posts, you cannot use any Taxonomy, this is correct.
I suspect you use older "fake" Intermediary post Types.
This is what Toolset Types suggested in past before it had "real" relationships.
Back then you where to create 3 types:
Parent, Intermediary, Child.
With this you can have the Intermediary as a parent to both other and hence connect many parents to many childs - each time creating a new Intermediary post that as child has those other 2 types.
In modern relationships that Types creates, you only have such an IPO (Intermediary post type) on m2m relations (many to many) and you cannot have taxonomies on them, because this new form of relationship is stored in other tables than the posts table or meta table as it was before.
Hence, if you need taxonomies on the IPO you would have to create 3 post types and connect them each, with o2m (one to many) relations, for example.
Thank you.
Here is the ticket:
Dear customer,
Ticket "How to add intermediary posts and taxonomy to an existing relationship" has been marked as Resolved by supporter.
Below is transcript of the chat:
How to add intermediary posts and taxonomy to an existing relationship
Shane : Hi Charles,
Shane : If you go to Toolset -> Custom Post Types you should be able to see your intermediary CPT
Shane : from there you should be able to set your cpt to be visible
charlesB-5 : Custom post types is not under the toolset admin menu. Do I access it from the dashboard?
Shane : Toolset -> Post Types
Shane : Then scroll to the option \" show_in_menu\"
charlesB-5 : I see. But I don\'t see any post type \"concepts to Mots\", but the relationship exists. Concepts to Mots
Edit | Delete
Yes Concepts [*] > Mots [*]
Shane : I see i re-read you original post and it seems that an intermediary cpt was not created for your relationship
Shane : so unless one was created during the relationship building process then it won\'t be available
charlesB-5 : correct. Intermediary post type: NO post type exists yet. Should I click use \"use existing post type\"?
charlesB-5 : Can I create one? Or do I need to delete and recreate the relationship?
Shane : Give me a moment
Shane : You will need to recreate the post relationship in order to add the custom fields and the intermediary CPT
charlesB-5 : ok - Thanks
charlesB-5 : So if I understand well, when creating a relationship we should always check the display intermediary post to make sure it\'s created, because after the relationship has been created we cannot add it.
Shane : Yes that is correct
charlesB-5 : Thanks - I will delete the relationship and recreate it
Shane : No problem. Does this resolve your query ?
charlesB-5 : Yes - Thank you and have a good day.
The state of this thread is:
Resolved
I think that was a chat session with Supporter Shane?
In this case, likely you will not have a link to it, that's fine, I have what I needed.
The impression given in that message is wrong.
Intermediate Post Types are not "added when you create a relationship" casually and with no reason.
They are created if you create a specific type of relationship(!) - many to many.
You can easily confirm this yourself following my below instructions:
1. Creaet a new relationship, choose either O2M or O2O (one to many or one to one)
2. Complete the wizard of those relationships and try to add either IPO (Intermediary post type) or it's custom fields.
3. There is no possibility to do this because it is not intended to be done.
4. Intermediary Post Types only will appear on M2M (many to many), as you can confirm if creating a new relationship with Types for M2M interoperation.
That IPO now can be seen in Toolset > Post Types > "Name of your IPO type" and there you can also edit that type.
However, taxonomies can not be added to an intermediary type, only Fields.
Please ask for adding taxonomies to IPO posts as a new feature here:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/