Skip Navigation

[Resolved] How to edit repeatbale fields specifi to logged in user

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

Last updated by davidR-12 4 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#1562905

I want to display a list of repeatable field posts that are specific to the logged in user and then have links for each of them to edit them. How do I do this?

#1563385

Hello,

There isn't such kind of built-in feature within Repeatable Group.

As a workaround, you can try with one-to-many relationship, for example:
1) Setup two post types:
- Parent post type
- Child post type, enable option "Author"
Setup one-to-many relationship between "Parent post type" and "Child post type"

2) Setup parent posts and Child posts, setup different user as the author of child posts.

In a single "Parent post", you can setup post view:
- Query child posts
- Filter by:
a) post type relationship between "Parent post type" and "Child post type"
b) post's author is current logged-in user
- And in view's loop, display a Toolset edit form link
So each user will be able to edit their own child posts.

More help:
https://toolset.com/documentation/user-guides/views/filtering-views-query-by-author/

#1565599

There is no option to add a form edit link to a View. I get this message:

"Create a new Content Template that will include the editing form. You can start from scratch or copy the template you use to display the content and modify it."

#1567523
#1567985

My issue is resolved now. Thank you!