Skip Navigation

[Resolved] Version 2.3-b2 one-to-many with nontoolset custom post type

This support ticket is created 7 years 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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 7 years ago.

Assisted by: Nigel.

Author
Posts
#597134

Hello
Today I've installed ToolSet Version 2.3-b2 and activate many-to-many relationship
I have non-toolset custom post (Event) which is parent for toolset custom post (Competition) = one-to-many relationship established by Toolset wizard
I try to use CRED to create a new child post for existing Event post, in parent-relation-field I am selecting existing Event-post
click on Submit (ajax with redirect)
But as I can see the Competition-post is created, but relationship is not defined.
If I opened a Event-post using standard WP backend post editing , I could manually establish relationship with thei Competiton-post
Please advice
UPD.
looks like we have same situation toolset-to-toolset custom posts one-to-many CRED add child post

#597230

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

The update to post relationships is available in the Types and Views beta, not in CRED.

What you are trying will not work because the data in the new versions is stored (very) differently, and the CRED form you are creating is trying to store the data in the old way.

To be able to use CRED for this you will need to wait for a CRED beta with the new m2m functionality I'm afraid. For now you can only create such related posts in the back end.

#597298

Huh
when the CRED update is estimated?

#597587

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

It is currently being worked on, but a beta is not expected to be available before the end of January.

There will be a blog post announcing its release when it becomes available.