Skip Navigation

[Resolved] Setting up a Form to Edit a Many to Many Relationship

This support ticket is created 4 years, 2 months 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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: Asia/Hong_Kong (GMT+08:00)

This topic contains 18 replies, has 2 voices.

Last updated by aprilB 4 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#1772825

The problem you mentioned above is abnormal, please check these:
In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, and test again

If the problem is fixed, activate other plugins one by one, try to locate the problem plugin/theme

#1772859
Screen Shot 2020-09-10 at 9.55.50 PM.png
Screen Shot 2020-09-10 at 9.59.01 PM.png
Screen Shot 2020-09-10 at 10.00.53 PM.png
Screen Shot 2020-09-10 at 10.02.23 PM.png

Ok i deactivated all of the plugins besides the toolset plugins.

i then went to the template for the single product:

Template for Products 1

I then in the editor screen did this:
1) clicked on the "Add Forms" button
2) I then selected "Add Product to Showrooms Form link" under Relationship Links
3) i then selected Connect a showrooms to a given product (see image)
4) then selected the template "Editing-Mode Template for Showrooms and Products"
and again tiny_mce_marker is displayed.

I also tried after reading (many) tickets addng a link to this: [wpv-post-url]?cred_action=edit_current&content-template-id=4613

it takes me to the form but the product is selected as the showroom select box.

please advice..

#1772911

Thanks for the details, since you are using many-to-many relationship, one product post can connect with multiple showroom post, so you will need to follow below document to setup the edit relationship form link:
https://toolset.com/documentation/post-relationships/how-to-build-front-end-forms-for-connecting-posts/editing-existing-connections-between-related-posts/

And I have setup a demo in your website:
hidden link
see the link "Connect another Showrooms", it is using the post view "Related showrooms":
hidden link

For your reference.

#1786089

thank you for the help!