Navigation überspringen

[Closed] Many to many relationship posts not showing as an option when setting up view

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

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 5 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 3 years, 4 months.

Assistiert von: Minesh.

Author
Artikel
#2526333
depts at location.JPG

Tell us what you are trying to do?
I am trying to create a view for my locations template page which lists departments (custom type) that are related to locations (custom type). However, when I select the department post type to display in the view, I do not see the option to show only related departments, as indicated in https://toolset.com/course-lesson/many-to-many-post-relationships/. Departments and locations currently have a many to many relationship. The site is not currently public.

#2526877

Minesh
Unterstützer

Sprachen: Englisch (English )

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

Hello. Thank you for contacting the Toolset support.

That is strange.

I would like to know - you want to display related locations on department template or related departments on locations template?

Can you please share edit screenshot of your content template where you set for which post type you set this content template to display with.

#2528031
departmental locations.JPG
relationships.JPG
location view.JPG
location template.JPG

Displaying related locations on department pages is currently in place - see screenshot titled departmental locations. That seems to work fine.
The issue I am currently running into is with displaying related departments on locations template.
I have also included a screenshot of our relationship screen (titled relationships) and a screenshots of the location template (titled location template) and the location view settings (titled location view).

#2528423

Minesh
Unterstützer

Sprachen: Englisch (English )

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

It seems you are adding department view at wrong place.

Can you please share problem URL where you are trying to add the department's view on what content template?

*** 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.

#2528625

versteckter Link is the URL where I am trying to add the view which shows which departments are associated with a location.

To add you as a test user, I will need your email address.

#2530319

Minesh
Unterstützer

Sprachen: Englisch (English )

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

My email address is: minesh.s@onthegosystems.com

Please make sure to grant administrator level permission when you create user for me.

The topic ‘[Closed] Many to many relationship posts not showing as an option when setting up view’ is closed to new replies.