Home › Toolset Professional Support › [Closed] Modal not working in Toolset View Translation via WPML
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 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | - |
- | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | - |
Supporter timezone: America/Sao_Paulo (GMT-03:00)
This topic contains 21 replies, has 5 voices.
Last updated by alexanderW-6 1 year, 7 months ago.
Assisted by: Mateus Getulio.
Hi Toolset Team,
I have found a bug which I am not able to solve. So I hope you can help me.
On the above selected website I have a german and an english version which I translated via WPML.
On the german version I have the domain.com/de/mietpark/ where customers can request a machine by clicking a button which opens a bootstrap modal and automatically selects the ID of the requested machine. that works absolutely fine.
On the englisch version domain.com/rental-park/ I just copied the views and it is not showing the modal. Infact, it opens the modal but not showing the content. (I published one button for you on the english version, so that you see, what I mean)
My research has led me to the point that it maybe has something to do with the DOM depth, but I'm not sure. Have you seen something like that before? I hope you have an idea, because WPML and Toolset in my understanding shall work nicely in combination.
Thanks in advance,
Josh
Hi there,
Would you please kindly follow the steps below to translate the view instead of duplicating the original one in English?
https://toolset.com/course-lesson/translating-views-content-templates-archives-and-forms/
See if it fixes the issue.
Thanks.
Hi Christopher,
I actually did that with my views. Or at least with the pages my views are shown on. Or what do you mean?
So I think that does not solve the problem in this case.
The problem itself isn't that the content is not shown, because I can find my modals and the correct content in the code when analyzing the english page. But it somehow does not appear in the foreground so that the visitor can fill something in.
Do you have another idea?
All the best,
Josh
Yes, Toolset and WPML should work fine together. I would like to know how exactly you configured the modal.
Can you please share admin access details and also share information where by clicking on what button I can see the issue?
*** 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.
Unfortunately I do not able to access the login page. It shows the following error:
=> hidden link
This feature is forbidden temporarily for security reason. Try login again.
Can you please remove if you have any security plugin install or do needful so that I can login to admin.
Hey Minseh,
I am sorry. please try: hidden link
thanks!
I can see the login page but when I try to login using the admin access details you shared I could not able to login to the admin.
Can you please check once and send me working admin access details.
I have set the next reply to private which means only you and I have access to it.
I'm not sure but the page you are talking about:
- domain.com/de/mietpark
- domain.com/rental-park/
I do not see above pages with the test site you shared with me.
- hidden link
Also, can you please confirm you followed the following doc:
- https://toolset.com/course-lesson/translating-views-content-templates-archives-and-forms/#translating-forms
Hi Minesh,
okay, I think it is easier, if you have a look at the original site.
Can you please mark the next request as private. Then I'll share the original site login credentials.
And yes I tested it again with translation of content templates but it didn't help.
Thanks in advance!
I have set the next reply to private which means only you and I have access to it.
Hello there,
Thank you for providing the credentials.
It seems that there are several items with the languages mixed. For example, in the content templates: hidden link, there are English templates and German ones, is that right? Please double-check if they haven't been mixed.
Also, your post form seems corrupted. Would it be a possible to create another one and translate it? Please let me know.
Thanks,
Mateus.
Hey Mateus,
thanks for looking at the page. The translation I did to test if that fixes the issue, like Christopher told me (see above). But it did not.
So it is obviously not the regular way to translate content templates via WPML?
And what du you mean by the post form is corrupted? Can you get more precisely?
Thanks in advance,
Josh
Hello Josh,
Thanks for your reply.
With 'corrupted' I meant that possibly some info was mixed in the database and that's why the form/content template do not work well in the translated version.
Further, we have checked that the form is not being displayed anymore in the German version: hidden link. Could you please restore it so that we can check it again? If possible, try to recreate the form/content template and retranslate it. The standard procedure for translating templates and forms is the same here.
Please keep us posted. Thank you.
Hey Mateus,
I did not change anything since you last checked.
At the /mietpark Page the form ist loading (and the modal too) but the view is not automatically. You have to click on one of the Thumbnail Images to load it. I don't know why - that came out of a sudden.
What can I do now? The modal at the english page does not show - whether I use the english or the german template or form.
Thank you for your help!
Hi there,
Thanks for your reply.
Just to make sure, do we have your authorization to make a copy of the website and migrate it into another server? In order to perform more complex tests without compromising the live production.
Please keep us posted about it. Thank you.
The topic ‘[Closed] Modal not working in Toolset View Translation via WPML’ is closed to new replies.