Skip Navigation

[Closed] Diconnecting posts in a M2M relationship

This support ticket is created 4 years, 1 month 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
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 6 replies, has 2 voices.

Last updated by Jamal 4 years ago.

Assisted by: Jamal.

Author
Posts
#1788873

I would like to disconnect posts in an M2M relationship.

#1791287

Hello and my apologies for the late reply, I still wait for the documentation team to provide a new article on how to disconnect two posts in a many-to-many relationship.

In the meantime, I run a small test and I was able to disconnect the posts by deleting the intermediary post. The solution needs a view that will query the intermediary posts and include the link to disconnect the posts.
Check this screenshot, I put the view inside of the parent post content template hidden link
Then check how I added the link to delete/disconnect hidden link

Read more about the shortcode for the delete link here https://toolset.com/documentation/programmer-reference/forms/cred-shortcodes/#cred-delete-post

I hope this helps. Let me know if you have any questions.

#1793203

Hello Jamal.
First of all.... Thanks for your time,

The problem is that I Can't see the intermediary post nowhere.
How can you get to see it?

#1793205

I found it! There is a light. Thanks
I must do tests.
Thanks!

#1794539

Awesome! I'll set this ticket as waiting for your feedback until you need further assistance. If you don't need further help, please mark it as resolved.

#1810261

Hello,

Currently, the M2M relationships were created without creating the intermediary post, which should let us disconnect the posts by deleting the intermediary post.

So, right now, I do not see how to get a link or form to disconnect posts. I am discussing this with our 2nd Tier and I'll get back to you as soon as I have something.

Our apologies for any inconvenience.

#1810429

My apologies for the last reply, it was not meant for you, it was meant for another ticket that is about the same issue, disconnecting posts in an M2M relationship.

I'll set this ticket as waiting for your feedback until you need further assistance. If you don't need further help, please mark it as resolved.

The topic ‘[Closed] Diconnecting posts in a M2M relationship’ is closed to new replies.