Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.6.5 (build 3081) - 28 May 2020 (please see important announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

See the Wiki to download the software or click on the Downloads link in the Forum Banner.

how to change a webtag

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
Thunderstorm
Posts: 34
Joined: Tue 26 Mar 2019 8:49 am
Weather Station: Davis Vantage Pro
Operating System: Win10

how to change a webtag

Post by Thunderstorm »

Hi, :?
I would like to change the time- and date formats for the records and monthly records or translate from English to German. http://odenwald-wetter.de/cumulus/record.htm
e.g. at 15:02 on 25 July 2019 change um 15:02 Uhr am 25 Juli 2019;
id = "TempHT"> <# ByMonthTempHT mon = 7 or <#TtempH>
Who can help me please?
Many greetings
thunderstorm

User avatar
mcrossley
Posts: 6479
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: how to change a webtag

Post by mcrossley »

You would use something like...

Code: Select all

<#ByMonthTempHT mon=7 format="'um' hh:mm 'Uhr am' dd MMMM yyyy">

User avatar
HansR
Posts: 966
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Re: how to change a webtag

Post by HansR »

I learned something today: the Wiki has pages ;)
https://meteo-wagenborgen.nl / Cumulus 3.6.5 (build: 3081)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 10 (buster) / 4.19.97-v7+ armv7l
Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)

Thunderstorm
Posts: 34
Joined: Tue 26 Mar 2019 8:49 am
Weather Station: Davis Vantage Pro
Operating System: Win10

Re: how to change a webtag

Post by Thunderstorm »

Hi,
yes reading on the WIKI pages is one thing, but understanding and implementing the other. I'm sorry, but despite reading and trying a lot, I still have a question about the monthly records. I edited monthlyrecordT.htm for December. When I call up the monthly records, the time and date values ​​are displayed correctly, only the temperature values ​​are missing. If I click again on December, the English formats appear again.
http://odenwald-wetter.de/cumulus/monthlyrecord.htm
The same is true for the other months. I have already tried a few variants, but all without success. On the localhost platform, the date and time formats are displayed as they should be. Maybe someone can help me again.

Many greetings
thunderstorm

User avatar
mcrossley
Posts: 6479
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: how to change a webtag

Post by mcrossley »

It looks like you changed the tags in teh HTML (which displays when the page first loads) - lines 28 - 170.
But you haven't changed all the tags in the script block (which displays when you change the month) - lines 179 - 229

Post Reply