Page 19 of 49
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Mon 16 Nov 2020 7:38 pm
by BCJKiwi
I'm at a loss to explain this.
I have been running this version of realtime-xT.txt for an extended period with the last 2 versions of CumulusMX and have no errors.
I don't run a Pi
What webtag is it?
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Mon 16 Nov 2020 8:04 pm
by sutne
BCJKiwi wrote: ↑Mon 16 Nov 2020 7:38 pm
What webtag is it?
From the code in my previous post it seems to be this:
token=<#Version MX_2.1.3 - 15-Nov-2020>
This is from the MXDiag log file.
As far as I can see everything is working, but the log-file has this every realtime-interval.
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Mon 16 Nov 2020 9:42 pm
by BCJKiwi
Well, That does not appear anywhere in realtime-xT.txt
Part of it is in the second line of realtimetagsT.php
Code: Select all
<?php
// silveracorn.nz MXUI website --- Version MX_2.1.3 - 15-Nov-2020
// MX build 3093
// realtimetagsMXT.php - see also realtime-x.txt
// Cumulus php varname:- $RT_realtime varname
It was in realtimetagsT.php of version 2.1.1 and 2.1.2 in the same format and is in some other files processed by CumulusMX as well.
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Mon 16 Nov 2020 10:24 pm
by beteljuice
Looking at his realtime-x.txt - the 'error' is being output to field #38 <#version>
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Tue 17 Nov 2020 12:33 am
by BCJKiwi
Thanks,
PaulMy also located the problem
Somehow the error only got into the distribution file set for MXUI website and is not in the C1 distro nor in the file in my CumulusMX/web/realtime-xT.txt file.
Corrected file attached.
First post updated.
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Tue 17 Nov 2020 1:06 am
by BCJKiwi
It seems that there are also some wxshare paths included in the CumulusMX Options files ( again, not in C1) for the Davis console files:-
davconvp2CUmx.php
davconvueCUmx.php
on lines 138 and 140
These have been updated in the first post but if you already have these installed it may be simpler to correct these in the existing files.
replace ../wxshare/ with ./
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Thu 19 Nov 2020 11:08 pm
by BCJKiwi
Customising the MXUI website jpgraphs
In response to a query on how to simplify the temperature and Humidity graph in block1 Row1 of the index page, the attached file will hopefully prove useful should you wish to make changes to the jpgraphs in Block1 Row1 of the index page (and for the gauges popup graphs).
jpgraphsHowTo.zip
Ver 1.1 Updated 22/11/2020
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Fri 20 Nov 2020 12:13 pm
by sutne
This is very good, but as always: one thing leads to another:
Could these charts be part of the translation system?
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Fri 20 Nov 2020 7:46 pm
by BCJKiwi
As stated, There is no translation available for these graphs.
It has been looked at but no way has been found (yet) to make translation work.
However, you can edit the titles and legends to any text (i.e. your language) you like but it will be fixed.
See updated Howto file 2 posts earlier than this one.
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Tue 08 Dec 2020 2:00 am
by griffo42
On my Dashboard, the times for Dawn, Dusk, Day length and Daylight length all show as "undefined".
Please show me what file/setting I have to amend to have these values correctly shown. I have tried to find these but to no avail.
In my settings.php file I have as shown at lines 39/40:
$show_daylengths = 1; // 0 NO Day length or Daylight length on Dashboard
// 1 Show Day length and Daylight length on Dashboard
Thanks
Keith
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Tue 08 Dec 2020 8:01 pm
by BCJKiwi
Have you updated
realtimetagsT.php
and
realtime-xT.txt
??
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Wed 09 Dec 2020 12:35 am
by griffo42
BCJKiwi
All sorted.
Thanks for your help.
Keith
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Wed 09 Dec 2020 10:53 pm
by meteo19
Hi
A small error in recordsMXT.js corrected as an attachment the correct file thanks for your work. A small error in recordsMXT.js corrected as an attachment the correct file thanks for your work.
Patrick
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Thu 10 Dec 2020 1:09 am
by BCJKiwi
Thanks,
Actually the lines (296 and 297) should be:-
Code: Select all
"<span lang='en'>at</span> <#MonthWChillLT format=HH:mm> <span lang='en'>on</span> <#MonthWChillLD format="dd"> <span lang='en'><#MonthWChillLD format="MMMM"></span> <#MonthWChillLD format="yyyy">",
"<span lang='en'>at</span> <#YearWChillLD format=HH:mm> <span lang='en'>on</span> <#YearWChillLD format="dd"> <span lang='en'><#YearWChillLD format="MMMM"></span> <#YearWChillLD format="yyyy">");
recordsMXT.zip
Although it seems there is some flexibility between
LT and LD
as long as the times and dates are fully specified.
First post updated
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Posted: Thu 17 Dec 2020 5:55 am
by BCJKiwi
CumulusMX and Cumulus1 UI style Multilingual Websites V 2.1.4
Version 2.1.4 adds Historic charts to version 2.1.3.
Note:-
Build 3097 or greater is required.
Note:- There is an unresolved translation issue with Historic Charts solar chart.