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

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: 37
Joined: Tue 26 Mar 2019 8:49 am
Weather Station: Davis Vantage Pro
Operating System: Win10
Contact:

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: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye 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: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: how to change a webtag

Post by HansR »

I learned something today: the Wiki has pages ;)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Thunderstorm
Posts: 37
Joined: Tue 26 Mar 2019 8:49 am
Weather Station: Davis Vantage Pro
Operating System: Win10
Contact:

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: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye 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