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
Hello,
You can follow our document to setup the "My account" page:
https://toolset.com/course-lesson/creating-a-my-account-page/
And in above "My account" page, you can display a view block for users to manage their own posts:
https://toolset.com/course-lesson/allow-users-to-manage-their-items/
For admin user, you can setup another admin page, query all posts without post author filters, and limit access to this page for only administrator user:
https://toolset.com/course-lesson/restricting-access-to-pages/
Hello Luo Yang
Unfortunately, we do not understand the instructions. It is not understandable for us. But is it possible to implement it? Is there a video tutorial how we can set it up? Since we are working with different views it is very complicated.
Thank you very much for your feedback!
Yes, it is possible with Toolset plugins, and the workflow is simple, for example:
1) User login into your website, redirect him to the "My account" page
2) In this "My account" page, display two sections:
A) a view block:
- Query posts
- Filter by post author is same as logged-in user
https://toolset.com/documentation/user-guides/views/filtering-views-query-by-author/
- In views loop, display post information + the edit post form link + delete post link
B) a post form for creating new post
And there isn't video tutorial , you can follow above documents to setup it, and feedback if there is any problem.