Digital experiences for all disciplines
Forum Replies Created
-
-
Hi David & Rui,
WPML thinks it is normal that a SELECT button doesn’t work when caching is on … duh … working now with WP Rocket for a solution as they want their “100% WPML proof” statement. Will update this thread when it is fixed.
Cheers,
JohanHi David,
Sorry for the inconvenience. I am not sure what is going on, as I don’t have the issue. No caching is active. The site sits on Bluehost Business Pro Cloud Hosting so things replicate to 4 global locations, but that shouldn’t be an issue for ftp …
As an alternative you could use WP File Manager. Ed installed that for fixing another issue. Alternatively I can include what you want included (assuming it is in functions.php).
I am working in theme options myself at the moment. Could that be the issue?
Let me know,
JohanHi David,
Wouldn’t it be more efficient then that you contact them directly? I already spent a couple of hours to figure out what is happening and detailing it here to help you guys figure out what to do … not really eager to do that again somewhere else as it takes quite a bit of time to get it across … and I don’t really feel comfortable to be in between something I feel I shouldn’t be in between …
Cheers,
johanHi David,
I already did. Will see what they say.
Cheers,
JohanHi David,
But are you sure the problem with the contact page slideout lies with WPML then? To me it looks like the problem is with the Theme Options panel of Atelier … and I figure that’ll be the first response I will get … the contact-slideout is the only field with this behavior …
Cheers,
johanHi David,
Once page caching is enabled, the switch no longer switches languages. You can click on it and select a different language but the page won’t actually switch to the language selected. This is with WP Rocket caching. Haven’t tested it with other caching plugins yet though. I can enabled it on staging site you already are working on once the other threads are dealt with… if you want to have a look. Turning it on now would get in your way i guess 🙂
Cheers,
JohanHi David,
No problem. For your information: I managed to get the sf_contact_slideout_page parameter back into the string translations overview for the string domain admin_text_sf_atelier_options domain again. And did some simulations to clarify what happens. See below. Hope this helps!
The numbers in that sf_contact_slideout_page parameter are post-id’s of the pages in which the contact forms are included. I entered them manually after searching in the POSTS database table. So for instance, the French contact form has ID 5074. If I do query on that, I get 4 records: the record for the form itself (record 5074 obviously) and 3 other records which are the original page I included them in and two revisions. The last revision for the page is record 5155. Entering that number in the French translation string and saving it makes the slideout contact page work. I did this for all 4 translations. See screenshot “start situation”
The big problem is that the theme options do not update the sf_contact_slideout_page correctly. When initially setting that theme option in English, it stores the record number of the page specified so in this case 417. When the page gets updated the sf_contact_slideout_page still will refer to 417 but the slideout does show the last revision.
Now, what happens when I go to the theme options in French and specify the French contact page “Conctez-nous”:
- The English theme options no longer shows the contact page originally specified
- The sf_contact_slideout_page string now no longer stores the number of English page (417) but the record number of the original French contact page 3670
- The sf_contact_slideout_page string now gets the status “translation needs update”. As a result the French contact form is shown for all languages.
See screenshot “After changing to French” …
So to get things working with the current set up of Atelier, I have to:
- make sure the English contact page is set in the English theme options.
- Search the database for each of the languages to find the record numbers of the last revisions of the contact pages in those languages
- Enter those numbers manually in the sf_contact_slideout_page string, mark them complete and save all
After that I’d better stay away from the header section of the theme options to not mess things up! 😉 Which actually is something you have to be really careful with anyway in Atelier anyway …. as might have noticed, you actually replaced all English strings in the admin_text_sf_atelier_options domain with Spanish ones, whilst trouble shooting the search results page language issue … yep, you did … Really! It is no problem though. It has happened to me also a couple of times as well and I have a separate text document on the side to quickly fix it when it does. I have’t put my finger on under which circumstances it happens. I guess something for a different thread 🙂
Hope this helps!
JohanAttachments:
You must be logged in to view attached files.Hi David,
They are. I just tested the details to make sure. http://ftp.niophoto.com will land you in the root of http://www.niophoto.com … the directory you should be looking for from there is /public_html/luc8k/wp-content/themes/atelier-child/
Can you try again?
Thanks,
JohanHmmmm the question changes, as I just tested the Atelier currency switcher and that one does not work with caching on either 🙁
Have you guys run into something like this re currency switching before? Any suggestions,
Thanks, Johan
Hi David,
Hah, yes I can confirm that. Now I hope you can also connect it the ENTER 🙂
Btw, now I notice another issue on that overview … image thumbs not showing … they to in the base language … is that related?
Thanks,
JohanHi David,
Just tested it and it doesn’t seem to work yet. When I follow the exact same steps as described above with the “Bolssa” term, I still end up at http://luc8k.niophoto.com/?s=bolsa …
I did assume that the code as found in the link you included was the same as I found in functions.php
Thanks, Johan
This reply has been marked as private.This reply has been marked as private.Ok Thanks david!
Hi David,
I guess you have the login from other communications right? 🙂
Ok if I am in the Spanish language, open full screen search and then use the search term “bolsa” without hitting enter, the results will show in the fullscreen search window as expected. If I now hit ENTER (lots of people do already before the search results show on the fullscreen search), the site goes to
http://luc8k.niophoto.com/?s=bolsa
… which is the search results page in English .. without results of course. If I now switch to language back to Spanish the two results show up again because the url changes.The difference:
http://luc8k.niophoto.com/?s=bolsa
http://luc8k.niophoto.com/?lang=es&s=bolsa
Hope this helps. If not just let me know !
Cheers,
Johan -