Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

CumulusMX and Cumulus1 UI style Multilingual Websites

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
sutne
Posts: 377
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2553 (WS80) and HP2564 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by sutne »

In my views the legends inside the graphs are in english:
Image 05.05.2020 at 08.53 2.jpeg
You do not have the required permissions to view the files attached to this post.
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by sfws »

BCJKiwi wrote: Mon 04 May 2020 8:29 pm @ sutne
When I view your site the gauges pop up graph legends are in the language selected.
Not for me.
sutne wrote: Tue 05 May 2020 7:01 am n my views the legends inside the graphs are in english:
Same in my views of your page. The headings outside the graph box change language, but the graph title and legend (identifying which coloured line is what) stays in English. In other words the language module is not adjusting items within the graph.
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

graph title and legend (identifying which coloured line is what) stays in English.
OK always been like that. Have not considered if they could be changed - will put it on the end of the "nice to have" list.
No part of the pop up graphs is handled by the main language system.
The top part is handled by gauges, the graph content is handled by jpgraph
checking on jpGraph's site they only mention language in relation to error messages - any jpgraph guru like to take a look at that?
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by beteljuice »

the beteljuice suggests that what you want may be in the .php files ?

Code: Select all

//  CumulusMX Only
        // These are the MX charts graphs
                    ['graphTempHum.php', 'graphTempIn.php'],            // Temperature: outdoor, indoor
      // Temperature: dewpoint,           apparent,           windChill,          heatIndex,          humidex
                    ['graphTempHum.php', 'graphTempHum.php', 'graphTempHum.php', 'graphTempHum.php', 'graphTempHum.php'],
                    'graphRain.php',                                    // Rainfall
                    'graphRain.php',                                    // Rainfall rate
                    ['graphHumOut.php', 'graphHumIn.php'],              // Humidity: outdoor, indoor
                    'graphPress.php',                                   // Pressure
                    'graphWind.php',                                    // Wind speed
                    'graphWdir.php',                                    // Wind direction
                    (config.showUvGauge    ? 'graphUV.php' : null),     // UV graph if UV sensor is present | =null if no UV sensor
                    (config.showSolarGauge ? 'graphSolar.php' : null),  // Solar rad graph if Solar sensor is present | Solar =null if no Solar sensor
                    (config.showRoseGauge  ? 'graphWindRose.php' : null),   // Wind direction if Rose is enabled | =null if Rose is disabled
                    (config.showCloudGauge ? 'graphPress.php' : null)   // Pressure for cloud height | =null if Cloud Height is disabled

                ];
Image
......................Imagine, what you will KNOW tomorrow !
malkie
Posts: 93
Joined: Sun 02 Jan 2011 9:38 am
Weather Station: Davis Vision-Vue
Operating System: Raspbian Jessie
Location: Stevenage, Herts, UK

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by malkie »

I was a bit late to this particular party, but Lockdown has given me the chance to play...

Just a test site so far but I have it working eventually.

http://elm30net.ddns.net/test/

Running on a Pi2 from home. I intend to move it out of test status to be my main site which has been running from home since late last year. I really like the MX Interface, and getting NOAA working plus all the other add-ons are a bonus.

I’m sure there are settings I need to fine tune, but I’m pleased with the result.

The Scripts are a long way from “plug and play”, but I got there slowly.

One error I remember, the C:\CumulusMX\Cumulus.ini file has an upper case C, for those of us using Linux on a Pi, it matters!
Malcolm
North Herts, UK
http://elm30net.ddns.net
CumulusMX on Raspberry Pi4 B+ 2GB, running on Raspbian Buster booting from USB SSD
from a Davis Vantage Vue with VP2 ISS.
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

Thanks will update the howto files in the next release.
Gregorean
Posts: 82
Joined: Tue 12 May 2020 11:41 am
Weather Station: Davis Vantage Pro 2
Operating System: Raspberry Pi 4B
Location: Amersfoort, The Netherlands
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by Gregorean »

Hello everyone, this is my first post on this forum. I've got CumulusMX 3076 running on a Beaglebone Black 3c, with Debian 10 Buster and NGINX and PHP7.3.
I host my own website locally and here you can see http://element14.serverthuis.nl which is off line now because I am working on the new UIwebsiteMX.

Did everything exactly as described in the how-to, it worked once but for some inexplicable reason not anymore.
Therefore I started ''clean'' again to prevent any possible mistakes.

In the how-to it says:
Each .php page file utilises 'includes' to link in the following:-
settings.php, style sheets required for this page.
JavaScript files required for this page.
css files required for this page.
nav_menu.php the navigation menu or menu bar
the page itself - dashboard, now, gauges etc... footer.php

This above does not work for me, if I enter these files manually in index.php I will see my new website.
I used the website of our esteemed BJCKiwi as an example, which made this all possible. :) But manual editing apart from a lot of work can of course not be the intention. A few more questions about this, do I just have to upload the 4 files ''realtime-x.txt'' and ''realtimetags.php'' and ''CUtags.php'' and ''records.js'' that are in the web folder via Extra Webfiles to my domain, or do I have to upload all files that are already in the root of my BBB (beagle bone black) server by default.
I hope someone from the specialists can help me with this, I am not a specialist in this field.

Greetings Sjaak.
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.synology.me
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by sfws »

content deleted
Last edited by sfws on Fri 18 Mar 2022 6:06 pm, edited 3 times in total.
User avatar
PaulMy
Posts: 3830
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by PaulMy »

Hi Sjaak,
Brian will be best to guide you. However this is how I have my current installation, which is slightly different to the HowTo:
1. Leave the initial CumulusMX \web and \webfiles intact and uploading to website.
Looks like you have that but with some modification to the xxxT.htm files and that should be ok.

2. I created a new \web-additions and also \webfiles-UIwebsiteMX \webfiles\UIwebsiteMX-options
In the new \web-additions folder I have added the 6 files from the zip \webMX for extra FTP with 2 at realtime and the others at the normal 5-min interval and added these in the Settings Extra web files
In the new \webfiles-UIwebsiteMX folder I have copied the \webfilesMX files from the zip and then FTP (one time) to my website to the same level as the original \webfiles upload

The original yourwebsite.xx/index.htm will still work and the new yourwebsite.xx/index.php should get you the new UIMX dashboard page.

3. I then created a new \webfiles-UIwebsiteMX-options folder for the UIMX option pages and then FTP to my website

I created the new \web-additions folder to better manage any new files for processing CumulusMX processing so not to interfere with the original xxxxT.htm template files (I have other pages that CumulusMX processes and updates).
And also the new \webfiles-UIwebsiteMX and \webfiles-UIwebsiteMX-options also for easier management of the UIMX addition and changes, especially if there are updates to the template

4. Of course you would need to follow the instructions on editing the files such as ajaxCUmx.js nav_menu.php settings.php etc.

www.komokaweather.com/cumulusmx
www.komokaweather.com/cumulusmx/index.php

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
Image
Gregorean
Posts: 82
Joined: Tue 12 May 2020 11:41 am
Weather Station: Davis Vantage Pro 2
Operating System: Raspberry Pi 4B
Location: Amersfoort, The Netherlands
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by Gregorean »

Hello Paul and don't forget @sfws, thanks for your reactions, I have to get used to it first, because English is not really my mother's language. ;)

The point is that ''includes'' doesn't work.
My web structure looks like this in WinScp my favorite editor. I also use Notepad++ sometimes, so you can compare multiple sessions.
root structure.JPG
As you can see my old CumulusMX working website is in www/html/ and my UIMX site is in www/html/cumulusmx a sub folder cumulusmx, with all the files in the local folder webfilesmx left side.
So everything is separated to rule out mistakes when experimenting, later on I can change that as Paul writes, but first it has to work properly.

My old CumulusMX website can be reached at http://element14.serverthuis.nl and my new uimx site can be found here http://element14.serverthuis.nl/cumulusmx/infophp.php (this is a php test file to see that my ''cumulusmx'' sub site does work).

Greetings Sjaak.
You do not have the required permissions to view the files attached to this post.
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.synology.me
User avatar
PaulMy
Posts: 3830
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by PaulMy »

Hi,
I am on PC Windows and have no knowledge of Beaglebone Black 3c, with Debian 10 Buster and NGINX

A bit like you, I didn't want the current working setup (which also had some minor modifications) to be disturbed until the new was running ok, so I did a new CumulusMX install on the PC C:\CumulusMX-UI and copy in the working CumulusMX \data and \Reports folders and Cumulus.ini (edited the [FTP Site} Directory=public_html/cumulusmx in Cumulus.ini so that the FTP would go to the new website subfolder).
Also added that new subfolder on website public_html/cumulusmx
I then did the webfiles FTP to that website folder and run the new C:\CumulusMX-UI\CumulusMX.exe
I now had a clean CumulusMX install and updating to website with the original Cumulus template.

After this was working correctly, then began to do the UIMX changes. This way I could test without concern on the previous working site, just had to stop one CumulusMX.exe before running the other.

When all was done I had both www.komokaweather.com/cumulusmx/index.htm and www.komokaweather.com/cumulusmx/index.php working all from the same website location and maybe this is why I don't have any "include" issue.

Unless there are other more significant modifications you've made, I would expect that it would work correctly with modified xxxxT.htm files like you appear to be using.

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
Image
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by sfws »

content deleted
Last edited by sfws on Fri 18 Mar 2022 6:06 pm, edited 2 times in total.
Gregorean
Posts: 82
Joined: Tue 12 May 2020 11:41 am
Weather Station: Davis Vantage Pro 2
Operating System: Raspberry Pi 4B
Location: Amersfoort, The Netherlands
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by Gregorean »

Hello @sfws, your suspicion was right about ''include'', in the php.ini I saw that ''allow_url_fopen'' is On'' but ''allow_url_include'' is Off. I set and saved that On and restarted NGINX/PHP but no result. :cry:
I haven't figured out how to activate it yet, even the now deactivated ;include_path = ".:/usr/share/php"; path I need to specify is not quite clear to me yet.
I'm not very familiar with this matter as I already pointed out.

But thanks anyway for your help so far,

Sjaak.
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.synology.me
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

Hi,

Need a CLEAR picture of the entire path structure and files, not just small parts.

Without this clear picture am unable to assist.

All the files need to be in place, not just a test file.
Also need a link to this path so can see what is happening in the site.
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by sfws »

content deleted
Last edited by sfws on Fri 18 Mar 2022 6:05 pm, edited 1 time in total.
Post Reply