Forum Replies Created
-
AuthorPosts
-
omjuicers
ParticipantBased on my experiments in 2020 (see previous ticket), the default language makes no difference, the plugin can only load the jquery ui in one of the site’s language and not the others. Which one seems to be random and can change based on what languages are available on the site.
I call this a bug because it has nothing to do with supporting a multilingual setup or assuring that your plugin works in a multilingual way. But we can call it whatever you prefer, the question is more how to fix this?
omjuicers
Participant@shadowlabs, exactly… and those two are not being included. This precisely the bug I’ve been trying to report to you for 3 years now!
omjuicers
ParticipantIf this was a joke it would be almost funny.
Your plugin if obviously not loading jquery and css when used in multilingual setup and that is for sure much closer to a bug than to an incompatibility. I am not asking you to make your plugin compatible with multilingual setup, I can manage that on my own. All I need is for you to be willing to look at bugs instead of hiding behind excuses.
In the post referred to above, you wrote on April 30, 2020 at that you had submitted a message to the developers to investigate further this issue. Maybe after 3 years, it would be ok to follow up and see if this can be fixed? How hard can it be, seriously?
omjuicers
ParticipantHi,
I’ve done these tests 3 years ago and it’s not a javascript conflict from another plugin or theme. I can tell you exactly what is happening and it’s related to the site language. I run multilingual site with WPML and when multiple languages are activated in WPML, somehow your plugins is not loading the needed jquery and css needed. This is what creates the error. Here are the lines that don’t load but should from your plugin:
<link rel='stylesheet' id='wpam_jquery_ui_theme-css' href='https://mlsfuhg7sobs.i.optimole.com/f:css/q:mauto/m:1/https://omjuicers.fr/wp-content/plugins/affiliates-manager/style/jquery-ui/smoothness/jquery-ui.css?ver=6.2' type='text/css' media='all' /> <link rel='stylesheet' id='wpam_style-css' href='https://mlsfuhg7sobs.i.optimole.com/f:css/q:mauto/m:1/https://omjuicers.fr/wp-content/plugins/affiliates-manager/style/style.css?ver=6.2' type='text/css' media='all' />You can see that your code calls for “datepicker” from jquery. And obviously if you don’t load jquery that contains that function in the first place, it will result exactly in that error. I was able to workaround the css by including the missing css lines in my theme’s css file, but the jquery simply isn’t loading. I don’t think I should add code to load it manually because your plugin is not loading it. Can you please look into fixing that?
Thanks,
Marcomjuicers
ParticipantThe previous post has been “awaiting moderation” for one week now…
May 2, 2023 at 9:44 pm in reply to: jquery ui + css not loading when language is different than site default #8125omjuicers
ParticipantI guess I’ll open a new thread since there is no answer here.
April 29, 2023 at 2:42 pm in reply to: jquery ui + css not loading when language is different than site default #8122omjuicers
ParticipantI just noticed this issue is still unresolved.
And it’s the same as this one:https://wordpress.org/support/topic/typeerror-datepicker-is-not-a-function/omjuicers
ParticipantHi, can you please answer this urgently?
May 4, 2020 at 6:35 am in reply to: jquery ui + css not loading when language is different than site default #6711omjuicers
ParticipantHi, it doesn’t happen on the main dashboard but on the /?sub=sales, you get an error in the console and the calendar is not loading.
How can I give you access to my staging site to look at the case, I can provide the exact URL where it’s happeneing.
Thanks.
May 2, 2020 at 5:33 am in reply to: jquery ui + css not loading when language is different than site default #6706omjuicers
ParticipantHi @shadowlabs,
Good idea, so I tried to switch the default language to German and it makes no difference. The jquery ui still loads in French and not in German.
Then I decided to push the experiment and I added Italian as a third language to the site. This is when the surprise came. Now jquery ui (javascript+css) only loads in Italian and not in French or German. I tried to switch the default language to all 3 languages and it makes no difference.
So basically, default language makes no difference, the plugin can only load the jquery ui in one of the site’s language and not the others. Which one seems to be arbitraty and can change based on what languages are available on the site.
Best,
MarcApril 30, 2020 at 2:21 pm in reply to: jquery ui + css not loading when language is different than site default #6704omjuicers
ParticipantThank you, keep me posted.
Best,
MarcApril 30, 2020 at 5:41 am in reply to: jquery ui + css not loading when language is different than site default #6700omjuicers
ParticipantMy site doesn’t have any specific design. It’s a WooCommerce with WPML and WP Affiliate Manager.
I saw in your release notes that you recently fixed an issue where jquery ui wasn’t loading when the site’s language was not English. This looks like something similar and I hope we can investigate what is causing this issue together.I’d be happy to give you access to a staging site so you can see the issue.
Best,
Marc -
AuthorPosts