Skip Navigation

[Resolved] Relationship many to many not working

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 6 replies, has 2 voices.

Last updated by Minesh 11 months, 3 weeks ago.

Assisted by: Minesh.

Author
Posts
#2687171

I have two CPTs (i) Listings_Healthcare and (ii) Healthcare_Facilities

Then I made many to many relationship of these two CPTs. During the process of making relationship, the wizard said that "an intermediate post type has been added" ... sort of.

Then wizard completed. Then I tried to add relationship field in an already listed entry. Column for adding connected field duly appeared. It says that add first three letters so that drop down list may be populated.

I add three or more letters but it fails to fetch the related data. Perhaps it is due to missing intermediate post type. So what to do at this stage?

#2687173

Skiped the point ...... That intermediate post type was not added ... as the relationship window and related section says that intermediate post type does not exist. I have similar working relationship and that intermediate post type exists for that working case.

#2687204

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL and tell me what steps I will have to follow to see the issue.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2687409

Sir,

My issue is still pending. Please guide any wayout.

#2687422

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see you have post relationship with the following post type:
- hidden link

On the following post:
- hidden link

When I click on the button "Connect Existing healthcare_facility" and search for the word "latest" it does show me the result. Please check the following screenshot:
- hidden link

#2687449

Thank you. This part is now working. But then another related problem.

I linked two facilities in the post of Healthcare listing.

Then I made a view that should display related facilities. This view is made and saved. But result is blank. Please check this output page... at the bottom, facilities are blank.

You can check its backend where view is available .. again there is no display or posts in the backend.

#2687456

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

That is totally different issue. As per our support policy, we entertain only one question per ticket. This will help other users searching on the forum as well as help us to write correct problem resolution summery for the original issue reported.

You're welcome to mark resolve this ticket and I urge you to create new ticket with every new question you may have.