Saltar navegación

[Cerrado] Translated Fields in View only visible when visiting page with fields in Backend

This support ticket is created 2 years, 5 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 8 respuestas, tiene 2 mensajes.

Última actualización por Minesh 2 years, 4 months ago.

Asistido por: Minesh.

Autor
Mensajes
#2680758

Tell us what you are trying to do?
Render Toolset Fields (in a repeater) in a view in other languages.

What is the link to your site?
Look at the "Certificates" section:
Working: enlace oculto
Not Working: enlace oculto, enlace oculto and others

Hello dear support team,

the problem is mainly that I only get the fields displayed in the other languages when I call up the post in the backend in the other languages. Then the fields seem to be copied into the post. Saving the post is not necessary, calling it up is sufficient. I have tested this with DE/DA...

For the fields I have selected "copy" in WPML, so they should remain in sync with the main language.

If the post is not opened in the backend, the loop displays "no items found".

Even if I change something in the main language, it is not automatically synchronised but I have to open the other languages in the backend.

I hope you can help me with this, thanks!

#2680970

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share admin access details and let me check whats going wrong with your setup.

In addition to that - Can you please tell me what fields are not working or get translated on frontend?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2681393

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

I see you have Kinsta cache and I deleted all cache.

I've also disabled the Autoptimize plugin.

After I delete the cache I can see the field.
- enlace oculto

In addition to that - I see many plugins are outdated and I'm not sure why Toolset Layouts plugin is active on your install. If you are not using please disable that.

- Please update ALL plugins to latest version as well as WordPress.

Here is the Doc that you should follow:
- https://wpml.org/documentation/developing-custom-multilingual-sites/repeatable-field-groups-make-easier-build-content-driven-multlingual-sites/
- https://toolset.com/lesson-placement/lesson-placements-1707695-1720767/

#2681415

The staging is outdated, on live the plugins are up to date. Irrespective of this, it is unfortunately not yet working. I have now tried several times to create a new field, delete it, create it again etc. and see if it is displayed on the DE page. Even after deleting the cache several times it does not work. Can you please test this again?

My procedure:
- open enlace oculto in the backend -> delete certificates if available, create a new one -> save -> clear all cache
- call enlace oculto only in the frontend -> field should be there but the field is missing.

Thanks

#2681856

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

We need site where ALL plugins including Toolset should be the latest version.

I can provide you sandbox site if you not able to update everything on your site.

Here is a sandbox site and you can auto-login to it using the following link:
- enlace oculto

As you can see there is "Opening Hours" repeating field group created and set to display with GYM post type:
- enlace oculto

You can see the following post in backend where there are items added and setup with repeating field group "Opening Hours":
- enlace oculto

Its displaying as expected on frontend for all languages:
- enlace oculto

Can you please try to reproduce the issue you have with this sandbox site and send me steps I will have to follow to reproduce the issue.

#2681952

Hi and thanks for the suggestion but the site is built completely differently so I have updated our staging. All plugins are now up to date. Kinsta cache is switched off.

Unfortunately, the problem persists. Can you please have another look

Thanks in advance!

#2682021

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

I'm not sure whats going on with your staging site or I do not know history of that of changes made on your site.

- open enlace oculto in the backend -> delete certificates if available, create a new one -> save -> clear all cache
==>
I've done that and added new 3 entries in backend:
- enlace oculto

I can see those newly added items on English language:
- enlace oculto

Then, when I switch to German language - I see "no items found" message:

So, I navigate to translated (German) post in admin to see if newly added items are copy to German post or not, I found that it was available there:
- enlace oculto

I just click on "Update" button and then I try to load the German language - I can see the items are displayed now on German language as well:
- enlace oculto

This is unlike the sandbox site I shared where I do not use Elementor where the repeating field group displayed on translated version of pot without any issues.

I see you are using Elementor and here is the guide how you can use it:
- https://wpml.org/documentation/plugins-compatibility/elementor/

#2682049

Hi Minesh, thanks for testing. Unfortunately, the instructions don't help me as everything is set up correctly. Is there an incompatibility between Toolset and Elementor regarding the repeatable fields? We can't rebuild all the pages, we use Elementor, Toolset and WPML and can't suddenly switch.

What is the best way forward? It would be nice to find a solution here.

#2682057

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Here is a sandbox site and you can auto-login to it using the following link:
- enlace oculto

Can you please use above sandbox site and add Elementor plugin and try to build Elementor template as you did with your site and check if you able to reproduce the issue?

El debate ‘[Cerrado] Translated Fields in View only visible when visiting page with fields in Backend’ está cerrado y no admite más respuestas.