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 4018) - 28 March 2024

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 drop-down menus to 2030)

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

Alternative Monthly Extremes using <#webtag>s

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

flort
Posts: 213
Joined: Thu 17 Dec 2020 9:06 am
Weather Station: Davis Vantage Vue
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Tin Can Bay, Queensland, Australia
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by flort »

What do you mean by C1 page variant. My site is based on the old style web page and I'm using CumulusMX.

http://flor.byethost24.com/weather/index.htm
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: Alternative Monthly Extremes using <#webtag>s

Post by beteljuice »

flort wrote: Thu 25 Mar 2021 10:49 am What do you mean by C1 page variant. My site is based on the old style web page and I'm using CumulusMX.
It maybe the old 'style' webpage but you need to use the mx variant of the page script ;)
Image
......................Imagine, what you will KNOW tomorrow !
flort
Posts: 213
Joined: Thu 17 Dec 2020 9:06 am
Weather Station: Davis Vantage Vue
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Tin Can Bay, Queensland, Australia
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by flort »

What is the MX variant of the page script? When I created it I just downloaded your file at the start of this post and modified it to suit my requirements. Everything worked fine except for the time and I fixed that by changing HH:MM to HH:mm.
flort
Posts: 213
Joined: Thu 17 Dec 2020 9:06 am
Weather Station: Davis Vantage Vue
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Tin Can Bay, Queensland, Australia
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by flort »

This is the start of the page I am using:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<meta name="description" content="<#location> weather data" />
<meta name="keywords" content="Cumulus, <#location> weather data, weather, data, weather station" />
<title><span data-cmxdata="location"></span> weather</title>
<!-- betejuice variant Cumulux MX ONLY - Oct 2019 (wet / dry fix) -->

<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="lib/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet" />
<link href="weatherstyle.css" rel="stylesheet" type="text/css" />

<script src="lib/jquery/jquery-latest.min.js"></script>
<script src="lib/jquery/jquery.tmpl.js"></script>

<script src="lib/bootstrap/js/bootstrap.min.js"></script>
<script src="js/setpagedata.js"></script>
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: Alternative Monthly Extremes using <#webtag>s

Post by beteljuice »

The zip contains TWO files.

One for use with 'old' C1 Cumulus, the other for CuMX ...

hold on for a moment ....

You're right :o

How did that slip through and not be picked up :oops:

I'll fix it ....
Image
......................Imagine, what you will KNOW tomorrow !
flort
Posts: 213
Joined: Thu 17 Dec 2020 9:06 am
Weather Station: Davis Vantage Vue
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Tin Can Bay, Queensland, Australia
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by flort »

Thanks.
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

UPDATE - Alternative Monthly Extremes using <#webtag>s

Post by beteljuice »

UPDATE 25 Mar 2021

URGENT MX versions ONLY, incorrect hours:mins format bug fix.
ALL versions - jQuery newer ver 'called', and future js bug fix.


Downloads on first post ...

Thanks to flort for reporting the MX bug ...
Image
......................Imagine, what you will KNOW tomorrow !
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

Alternative Monthly Extremes - 'new' mx 10.3

Post by beteljuice »

New mx 10.3 template version ONLY

The beteljuice is slowly trying out his playthings in the 'new' Neil Thomas templates ...

This one is a rewrite to use the websitedata.json file instead of having to be processed / uploaded by Cumulus.

Part of the README.txt file ...

zip file contents:-
alt_monthlyrecord.htm
alt_monthlyRESPONSIVE.htm /* NEW */
css/alt_mon.css
js/alt_monthlyrecdata.js /* UPDATED */
this README.txt

Upload the files to your website.

Menu:
There are two ways you can handle this:

1/ (NOT recommended) back-up your existing monthlyrecord.htm and rename alt_monthlyrecord.htm to monthlyrecord.htm.

2/ (Prefered) Copy and BACK_UP YOUR EXISTING js/ menu(type).js
Edit the filename in the (new) js/ menu file

That's it ...

Easter Egg ...

(You'll have to download the file to find out ;) )

betel_alt_mon.zip
You do not have the required permissions to view the files attached to this post.
Last edited by beteljuice on Fri 16 Jul 2021 11:45 pm, edited 6 times in total.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by mcrossley »

Clever - one addition you may want to look at in a spare hour is the use of Apparent vs. Feels Like preference :twisted:
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: Alternative Monthly Extremes using <#webtag>s

Post by beteljuice »

Ahhh .........

Just realised I need to edit all the header info mouse-overs in the htm file for user UOM via data-cmxdata :groan:

I feel a headache coming on :bash:

Edit: All done ...
Image
......................Imagine, what you will KNOW tomorrow !
griffo42
Posts: 226
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by griffo42 »

I have implemented the fully responsive pages from Neil Thomas' site which are referenced at https://weather.oaktreewebs.co.uk/ATR-1c.htm. They move the right-hand panel to the top of the page.

I have also installed @beteljuice scripts contained in the first post of this topic, for a choice of pages for the display of monthly extremes. They show the top of the right-hand panel down somewhat from the top of the page. I have looked at the coding and can't see how to change this, with my low level of competence, to the top of the page.

I would appreciate some help with this, please.

My websiteURL is https://www.kstwx.net/cumx/index.htm

Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
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: Alternative Monthly Extremes using <#webtag>s

Post by beteljuice »

I have implemented the fully responsive pages from Neil Thomas ...
Bless him, I suppose the css files are not backwardly compatible either :?

Hospital today, so it will be a while before I can mess with things - his link for just the page templates doesn't work (404).

It should be just cut'n'paste stuff, but as you're a newbie and it's not obvious where to start, I'll try and get the page done for you to try.

Must say I don't like the way the 'now' page lays out ...
Image
......................Imagine, what you will KNOW tomorrow !
griffo42
Posts: 226
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by griffo42 »

Thanks @beteljuice. I downloaded the changed scripts direct from Neil Thomas’ site. I suspected that it might be connected with CSS.

Just when you are able , obviously, is OK by me. Hope your stay in hospital fixes up the health issue/s that you have: all the best with that.

Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
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: Alternative Monthly Extremes using <#webtag>s

Post by beteljuice »

New MX version now includes 'Responsive' variant

Zip file updated
NEW Neil Thomas responsive variant added DEMO
js file updated

In earlier post viewtopic.php?p=153487#p153487
Image
......................Imagine, what you will KNOW tomorrow !
griffo42
Posts: 226
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Alternative Monthly Extremes using <#webtag>s

Post by griffo42 »

@beteljuice

Thanks for your very prompt work on my request. All good and implemented. Hope your hospital visit went well.

keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
Post Reply