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

Another Newbies question- Web Page Customisation.

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

Moderator: daj

Post Reply
malex
Posts: 7
Joined: Tue 12 Jan 2010 12:32 pm
Weather Station: WH1090
Operating System: Windows XP & Snow leopard

Another Newbies question- Web Page Customisation.

Post by malex »

Have managed to get my site up and running. Thanks for the assistance so far.I have been looking at the realtime gauges being discussed on the forum.
As a learning experiment I would like to try and include these on my site. I have read the readme file included with the download and the entries on the Wiki site. I am still unclear on some of the exact editing required to various files, ("cumulusrealtime.html" "index.htm" "weatherstyle.css" etc) does anyone have an example of the relevant files which could be previewed to see exactly how the lines are edited. I notice from some of the other sites that the line which starts "Welcome to Home." has been changed to show some of the users locality details. I have managed to get this to work for myself but each time the site updates the line returns to "Welcome to Home." Any theories on what I am doing wrong?
Apologies if these are really obvious questions, it is my first attempt at web site creation so am a real beginner. The Wiki site is really helpful especially the page detailing how the cumulus.ini file is constructed. Have learnt a great deal from that one.
Thanks
Mark
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: Another Newbies question- Web Page Customisation.

Post by daj »

malex wrote:.... I have managed to get this to work for myself but each time the site updates the line returns to "Welcome to Home." Any theories on what I am doing wrong?
Mark, this should explain this problem

http://wiki.sandaysoft.com/a/Customised_templates

Regarding CumulusRealtime -- have a look at this post as a starting point https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=2177

Don't worry about weatherstyle.css for the moment -- that is a Stylesheet and it controls the colouring and design of your site aspects of your pages. Again, some reading here on the basics of Stylesheets -- http://wiki.sandaysoft.com/a/Css

So you have a fair bit of reading ahead -- however please come back with questions if you need further help
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Another Newbies question- Web Page Customisation.

Post by steve »

Another useful read would be the Cumulus help file. The station settings screen help will tell you about setting the text that comes after "Welcome to".
Steve
malex
Posts: 7
Joined: Tue 12 Jan 2010 12:32 pm
Weather Station: WH1090
Operating System: Windows XP & Snow leopard

Re: Another Newbies question- Web Page Customisation.

Post by malex »

Thanks To everyone for their assistance.
I have managed to get the realtime link from my webpage to display the realtime gauges. Unfortunately it stops at the loading data stage. The realtime.txt file is located in my Public_html directory. could this be the cause of the problem?
my webpage address is
http://www.bishopton.localweatherview.com
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: Another Newbies question- Web Page Customisation.

Post by daj »

Your <realtimeURL> is wrong in CumulusRealtime.xml

You have it as

http://bishopton.localweatherview.com/h ... altime.txt

It should be

http://bishopton.localweatherview.com/realtime.txt

It's the web address a viewer would see, not you as an FTP uploader
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
malex
Posts: 7
Joined: Tue 12 Jan 2010 12:32 pm
Weather Station: WH1090
Operating System: Windows XP & Snow leopard

Re: Another Newbies question- Web Page Customisation.

Post by malex »

David
Thanks for your patient assistance. I have edited the url in the .xml file as you suggest it now reads <realtimeURL>http://bishopton.localweatherview.com/r ... ealtimeURL>
The link from the Weather view web page is entitled "Realtime" and this appears to work perfectly bringing up the live gauges unfortunately it still stalls at the loading data prompt. With "bishopton.localweatherview.com please wait" as the heading on the page
I have edited the site title to be <title>bishopton.localweatherview.com</title> in both the .xml & the .html files. Could this be causing the problem?
I have also tried adjusting the interval to 10 secs in the .xml file as this seems to have been a problem for some other users, however this did not make any difference. The realtime.txt file appears to be updating from cumulus with appropriate data.
Any further suggestions would be much appreciated.
Thanks
Mark
http://www.bishopton.localweatherview.com/
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: Another Newbies question- Web Page Customisation.

Post by beteljuice »

You changed your url in the last post (added www.)

It seems to be a mapping thing.

http://bishopton.localweatherview.com/C ... ltime.html Now WORKS (wait 10s for first update)

http://www.bishopton.localweatherview.c ... ltime.html Does NOT work (wait forever for data) :?
Image
......................Imagine, what you will KNOW tomorrow !
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: Another Newbies question- Web Page Customisation.

Post by daj »

Mark

The URL to your webiste is http://bishopton.localweatherview.com

There are no www's as it is a sub-domain of localweatherview.com

As Beteljuice says, http://bishopton.localweatherview.com/C ... ltime.html works fine now
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Another Newbies question- Web Page Customisation.

Post by steve »

daj wrote:The URL to your webiste is http://bishopton.localweatherview.com

There are no www's as it is a sub-domain of localweatherview.com
But http://www.bishopton.localweatherview.com/ does work. And if both with and without the www are required to work, then Silverlight will need a clientaccesspolicy.xml file creating, or people going to the www version of the site will be disappointed.
Steve
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: Another Newbies question- Web Page Customisation.

Post by daj »

steve wrote:But http://www.bishopton.localweatherview.com/ does work....
Yes, I added aliases when creating the subdomains just as a safety measure but far better to refer to it correctly.
(it's my domain, part of the hosting package).

Good point re: clientaccesspolicy.xml
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
Post Reply