Skip Navigation

[Resolved] Incluir un campo de repetición a los perfiles de usuario

This thread is resolved. Here is a description of the problem and solution.

Problem:

Toolset does not let me include user repeatable field groups. Do you know of any other way of doing it?

Solution:

Toolset Types plugin does not support "repeatable user field groups", since the "repeatable field groups" is based on post type relationship "One-to-Many", but wordpress user isn't a custom post type, so there isn't such a built-in feature.

As a workaround, you can create another post type, for example "member-information", each "member-information" post's author is different wordpress user, in "member-information" post type, setup the "repeatable field groups", see details here:

https://toolset.com/forums/topic/incluir-un-campo-de-repeticion-a-los-perfiles-de-usuario/#post-1169349

Relevant Documentation:

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

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

Last updated by Francisco Javier 6 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#1168702

Tell us what you are trying to do?
Intento incluir en los perfiles de usurio un campo de repetición donde poder subir de forma periódica documentos (nóminas) y que estén disponibles para ellos su descarga.
Toolset no me deja incluir campos de repetición en grupos de campo para usuarios. ¿Sabeís de alguna otra manera de hacerlo?

Is there any documentation that you are following?
No

Is there a similar example that we can see?
No, simplemente sería un repositorio de documentos exclusivo de cada usuario

What is the link to your site?
Es web privada, de uso interno

#1169349
multiple-instance-user-field.JPG

Hello,

This is English support forum, please submit the ticket in English.

I have tried to translate your questions into English with google translate:

I try to include in the user profiles a repetition field where you can periodically upload documents (payroll) and that they are available for download.
Toolset does not let me include repeat fields in field groups for users. Do you know of any other way of doing it?

Toolset custom user field group does support the "multiple-instances" custom user field, see screenshot:
multiple-instance-user-field.JPG

I assume you are requesting the "repeatable user field groups".

If it is, then you are right, Toolset Types plugin does not support "repeatable user field groups", since the "repeatable field groups" is based on post type relationship "One-to-Many", but wordpress user isn't a custom post type, so there isn't such a built-in feature.

As a workaround, you can create another post type, for example "member-information", each "member-information" post's author is different wordpress user, in "member-information" post type, setup the "repeatable field groups".

Then, you will be able to create a page, display nested view:
1) parent post view:
- query "member-information" posts
- filter by post's author is current login-in user
https://toolset.com/documentation/user-guides/filtering-views-query-by-author/
- and display below child post view

2) Child post view, query "repeatable field groups" posts,
- filter by the post type relationship
- and display "repeatable field groups" fields
https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/#displaying-repeatable-field-groups

#1171187

My issue is resolved now. Thank you!