Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

template doensn't work correctly

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

Moderator: daj

Post Reply
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

template doensn't work correctly

Post by nitrx »

I've made a template for the month and yearextremes http://www.apeldoorn.tk/weer/monthyear.htm The day is missing by Highest Wind speed average ( <#YearPressLD> ) and the generated version / update time also doesn't show up I laso miss the navigation links. I can't find out where its goes wrong any clues ?

Template htm in zip (processed with cumulus and ftp-ed every 10 minutes)
You do not have the required permissions to view the files attached to this post.
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: template doensn't work correctly

Post by beteljuice »

Code: Select all

<td><span><#YearWindH></span>&nbsp;<#windunit> at <span><#YearWindHT"></span> on <span><#YearWindHD></span></td>
You have a " that you don't want ;)

Code: Select all

<td><span><#YearWindH></span>&nbsp;<#windunit> at <span><#YearWindHT></span> on <span><#YearWindHD></span></td>
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: template doensn't work correctly

Post by nitrx »

Thanks Betel I was staing hours at it , solved now :clap:
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: template doensn't work correctly

Post by Synewave »

Glad you found it. Your Month/Year page code looks very similiar to mine! I guess if you copied my source, you accidently left the " in as I use id="YearWindHT" tags defined in a javascript instead of webtags.
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: template doensn't work correctly

Post by nitrx »

It was yours :) thanks
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: template doensn't work correctly

Post by Synewave »

LOL, you're welcome!
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: template doensn't work correctly

Post by nitrx »

Just have to do today and yesterday.htm join together :lol:
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: template doensn't work correctly

Post by Synewave »

Ahh, now my code for that is a bit messy! Some of the data strings are defined in the javascript instead of using <span>. I must get round to tidying it up.
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: template doensn't work correctly

Post by nitrx »

Well I just go to try it. ;)
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: template doensn't work correctly

Post by nitrx »

Well I've made the today and yesterdaytemplate and it works fine http://www.apeldoorn.tk/weer/dagen.htm, left the beaufort and apparant out it, if somebody want it in English I can upload the template.
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: template doensn't work correctly

Post by Synewave »

You could always add the times of the highs and lows.
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: template doensn't work correctly

Post by nitrx »

I can't find webtags for them :?:
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: template doensn't work correctly

Post by nitrx »

Oeps found them in the wiki thanks for pointing
Post Reply