Dear all customer,
Below is the tutorial to change datetime format of jux weather forecast!
Step 1: Go to path {root}/modules/mod_jux_weather_forecast/assets/js then open file weather.js
Step 2:
- Change datetime format of TODAY label
+ Go to line 830 then change position of variable: dayfull, today.getDate(), n to get format you want
- Change datetime format of next days
+ Go to line 872 then change position of variable: d.getDay()).t(), d.getDate(), n, d.getFullYear() to get format you want
Hope this help!
I can't seem to get this to work for the latest version of JUX Weather Forecast (released Oct. 2016). I notice a weather.min.js file in the same directory as weather.js ... does this have to be edited instead?
Hello,
We threw it in order to increase the security of the files. Please use the following tool, then you go fix as instructed above.
jsbeautifier.org/
Thanks!
I guess I need some more help with this issue. When editing either the file JOOMLAROOT/modules/mod_jux_weather_forecast/assets/js/weather.js or JOOMLAROOT/modules/mod_jux_weather_forecast/assets/js/weather.min.js,, I see the code you're referencing, and I try to change it, but I don't see any changes on the front end of my Joomla site. I've also tried dropping in a test class inside a paragraph tag, but I don't see this loading on the front end either.
I am using caching, and have flushed Joomla's cache, the server cache and the CDN cache, but the changes do not appear on the front end. I'm using a qualified provider (SiteGround) and account, and when I make .js changes in other circumstances, I can see the changes on the front end.
Is there another place where this code gets changed? Why can't I see the changes from the front end? The site in question is
mckinleypark.news
.