Skip Navigation

[Resolved] Massive data

This support ticket is created 5 years, 1 month 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 4 replies, has 2 voices.

Last updated by Nigel 5 years, 1 month ago.

Assisted by: Nigel.

Author
Posts
#1220895
2.PNG
1.PNG

Tell us what you are trying to do?
I need to create more than 1000 custom fields, is there any way to do it by modifying the database? or by modifying the XML file?

in the image "1" highlight the hash key in green, do I need to create a hash key or checksum for each custom field?

in image "2" I have the created xml code, I just need to create the hash key for each field, as for each group, is there any way to do it?

or in any case, opening the database of SQL I found out that in the section of wp_options I can modify the text, I had thought to add the custom fields modifying the text, but when doing it the customized fields of toolset disappear

Is there any documentation that you are following?
no
Is there a similar example that we can see?
no
What is the link to your site?
it is private

and....
If I do not solve this, I could lose my job...
I will share confidential information, could you put this in private?

#1221032

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi David

Let me set up a private reply for your to share the sensitive information you need to.

I'm afraid I may not be able to help you, though, as Toolset doesn't have an API for registering custom fields, this is done entirely through the UI.

You can create standard post meta and then output such fields using Views shortcodes, or use them in Views filters, for example, so maybe you could work with the data without having to use Types custom fields as such.

Anyway, I'll await details.

#1221421

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Lo siento David

Hablé con los desarrolladores y no tienen información que pueden compartir de cómo registrar campos por programación.

El código de Types es bastante antiguo y uno de los desarrolladores tiene un proyecto para crear un nuevo API para registrar campos—como tiene ACF, p.j.—pero es poco completado hasta ahora.

De momento el único manera de registrar campos de Types es por el GUI. Entiendo que no es práctico en este caso, pero el alternativo es no usar Types para este proyecto.

Lo siento.

#1221786

se podrá realizar con Advanced Custom Fields e implementarlo en los formularios de CRED al igual que las plantillas de LayOuts?

#1221837

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Screenshot 2019-03-27 at 16.00.53.png

No hay problema usar campos de ACF en plantillas si son campos sencillos.

Ve como se guarda el valor de un campo "select" en wp_postmeta en el pantallazo.

No estoy claro de la importancia del campo escondido ("_options"), pero de todas formas no creo que es práctico usar campos genéricos en formularios de Toolset para guardar valores de campos registrado por ACF (sea necesario especificar todos los opciones para cada campo en el mismo formulario).

Pero ¿sabes que ACF puede generar un formulario de front-end automáticamente?

Ve hidden link

Entonces puede ser posible registrar los campos con ACF, crear un formulario con ACF, y luego usar estos campos en plantillas de Toolset.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.