Skip Navigation

[Resolved] correct View

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

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 6 replies, has 2 voices.

Last updated by Luo Yang 3 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#2035057

Tell us what you are trying to do?
We would like to have an output that when we enter the name, it outputs the associated occupations. We have created a many to many relationship.

Is there any documentation that you are following?
We didn't found one

Is there a similar example that we can see?
No.

What is the link to your site?

hidden link

#2035151

Hello,

What is the "have an output that when we enter the name"?

Are you going to output the related "occupations" post title?
If it is, you can follow our document to display the related "occupations" posts information:
https://toolset.com/course-lesson/displaying-related-posts/#displaying-many-related-items
section "Displaying many related items"

#2035391
screenshot.jpg

Hey

Yes we want a search that when we enter the first name that the related professions are listed.
In our case the post relationships are not displayed. (See screenshot.jpg)

Where can we select the field "Speakers that are related to the current Event" as in the documentation?
Thank you for your help!!!

#2036281

The problem you mentioned above is abnormal, please provide a test site with the same problem, fill below private message box with test site credentials, also point out the problem page URLs, thanks

#2037379

Thanks for the details,I can login into your website, in your case, it needs a nested view.

I have done below modifications in your website:
1) Create a child post view "Related occupations posts":
hidden link
- Query "Berufe" posts
- Filter by:
Select posts in a Vornamen Berufe relationship that are a related to the current post in the loop.
- In view's loop, display the post title shortcode:
[wpv-post-title]

2) Edit the existed parent post view "Beruf":
hidden link
- Query only "Vornamen" posts
- In view's loop, edit the content template "Loop item in Beruf":
hidden link
Display the "Vornamen" post title block + child view block

Please test again, check if it is what you want

#2051407

Hello Luo Yang

Thank you very much for your help! This is exactly how we imagined it.

Now we have another question. We want to create a user management.
That means when a user logs in, the database is empty and he can fill the database independently. The relations remain.

The user sees only his content.
The administrator sees all content from all users.

Is there a way to set this? We would be very grateful if you could help us.

Kind regards

New threads created by Luo Yang and linked to this one are listed below:

https://toolset.com/forums/topic/we-want-to-create-a-user-management/

#2051481

For the new questions, please check the new thread here:
https://toolset.com/forums/topic/we-want-to-create-a-user-management/