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

Custom Website using localweatherview.net

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

Moderator: daj

CaLi
Posts: 12
Joined: Fri 28 Jan 2011 3:11 pm
Weather Station: N96GY
Operating System: Windows XP
Location: Wales

Custom Website using localweatherview.net

Post by CaLi »

Hi all, i kindly took Daj up on his offer to host my weather stations live data.

I was particularly fond of the style but it did what it needed to do, so i have been working on a new layout for mine.

Its not fully complete as i still need to sort out integrating some css files to sort out the Trends page so the graphs enlarge once clicked.

I did however have a problem that my guages page isnt working at all, and i could figure out why.. turns out i spelt gauges wrong lol

You can check out the new layout >> here <<
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: Custom Website using localweatherview.net

Post by beteljuice »

At the moment you've lost two important javascripts and included a new one twice ;)

Code: Select all

<script src="js/cufon-replace.js" type="text/javascript"></script>
<script src="js/cufon-replace.js" type="text/javascript"></script>
Image
......................Imagine, what you will KNOW tomorrow !
CaLi
Posts: 12
Joined: Fri 28 Jan 2011 3:11 pm
Weather Station: N96GY
Operating System: Windows XP
Location: Wales

Re: Custom Website using localweatherview.net

Post by CaLi »

i would ignore them, as i used a template so i need to remove them.

Which ones am i missing? when i look at the origional templates i cant see any scripts in the header :?
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: Custom Website using localweatherview.net

Post by beteljuice »

In fact you've lost everything that makes the gauges work :shock:

In the header should be:

<script language="JavaScript" src="wz_jsgraphics.js" type="text/javascript"></script>

BUT ..

before the closing </body> tag you've deleted ALL the processed variables AND the calls to:

<script language="JavaScript1.2" type="text/javascript" src="dbimages/dashboard.js"></script>

<script language="JavaScript1.2" type="text/javascript" src="dbimages/boxover.js"></script>


... better look at the original template again ....
Image
......................Imagine, what you will KNOW tomorrow !
CaLi
Posts: 12
Joined: Fri 28 Jan 2011 3:11 pm
Weather Station: N96GY
Operating System: Windows XP
Location: Wales

Re: Custom Website using localweatherview.net

Post by CaLi »

thanks for your help, not sure how that happened but it was late at night,

page is now working correctly :D

http://wepre.localweatherview.net/gauges.htm.

Edit: Also Fixed the trends page had missed out

Code: Select all

<script type="text/javascript">
function changeImage(im) {
	document.images["graphs"].src = im + "?" + new Date().getTime();
}
</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: Custom Website using localweatherview.net

Post by beteljuice »

Almost fixed your trends page ......

Extra < in your opening <header> tag.

Code: Select all

<<title>Wepre Weather Station</title>
Image
......................Imagine, what you will KNOW tomorrow !
hills
Posts: 692
Joined: Sat 26 Dec 2009 8:52 am
Weather Station: Fine Offset WH1091
Operating System: Raspbian Buster
Location: Crafers, South Australia
Contact:

Re: Custom Website using localweatherview.net

Post by hills »

Very nice looking website, I like it!!

BTW, you've misspelled gauges ;)
CaLi
Posts: 12
Joined: Fri 28 Jan 2011 3:11 pm
Weather Station: N96GY
Operating System: Windows XP
Location: Wales

Re: Custom Website using localweatherview.net

Post by CaLi »

cheers beteljuice, just removed that extra tag. I will go through the rest of the pages and tidy up the html.

and hills.. dont get me started on spelling of guages/gauges, iv never been more confused in my life lol :D
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: Custom Website using localweatherview.net

Post by nitrx »

It seems your pressure is set wrong (to low) most pressure is above 1000 hPa in the UK see this topic https://cumulus.hosiene.co.uk/viewtopic.p ... 3&start=20
CaLi
Posts: 12
Joined: Fri 28 Jan 2011 3:11 pm
Weather Station: N96GY
Operating System: Windows XP
Location: Wales

Re: Custom Website using localweatherview.net

Post by CaLi »

nitrx wrote:It seems your pressure is set wrong (to low) most pressure is above 1000 hPa in the UK see this topic https://cumulus.hosiene.co.uk/viewtopic.p ... 3&start=20
I just love this forum, everyone is so helpfull and pleasant :)

I have now corrected my pressure, i would have never noticed this was wrong. i guess my forecasts will be more accurate now its correct?
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: Custom Website using localweatherview.net

Post by robynfali »

Lookin pretty good there, love the design, whereabouts in Wales are you?
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: Custom Website using localweatherview.net

Post by robynfali »

DOH!!

just read it on your page.....not TOO far down the road from me
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: Custom Website using localweatherview.net

Post by nitrx »

I have now corrected my pressure, i would have never noticed this was wrong. i guess my forecasts will be more accurate now its correct?
You probably get less rain and wind :lol:
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Custom Website using localweatherview.net

Post by daj »

Love the styling -- very fresh.

I've only checked two pages page but you have some orphan tags! These can cause some browser to freak out.

index page....

Line 38 you have an opening <div> contained within <h3>'s it would need to close before the </h3> if it was supposed to be there. I suggest removing it.

You then have a closing </div> line 136 -- should be removed. now all your tags will match :)

the today page...

You are forgetting to close the table body before you close the table...need a </tbody> just above </table>. You are not closing the main div at the very bottom, before you close the </body>

Sorry, I know it sounds a bit petty but it is important. I can check the others if you wish, or maybe you want to check them

Still a nice style ;)
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
CaLi
Posts: 12
Joined: Fri 28 Jan 2011 3:11 pm
Weather Station: N96GY
Operating System: Windows XP
Location: Wales

Re: Custom Website using localweatherview.net

Post by CaLi »

Daj, im going to go through all the pages as im sure there are loads of mistakes as i only use ms notepad, i guess i should really use something abit better really but im so used to notepad.

Alot of the code is messed up and not perfect, will have a look and sort the obvious and i also need to thin out the css file as i dont use all the classes in there.

if i have a look myself and clear up what i can see is wrong then i would appreciate you giving it a final go over to check its all 100% correct.

I am pleased with the way the site looks but im thinking of changing it to blue and replacing the flower with a beach sea themed picture but not decided on this yet
Post Reply