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

Sunny Weather Template for Cumulus v.1.9.2

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

Moderator: daj

Post Reply
User avatar
JacquesD
Posts: 609
Joined: Tue 27 Jul 2010 3:51 am
Weather Station: National Geographic 265nc
Operating System: XP SP3
Location: St-Ours, Québec, Canada
Contact:

Re: Sunny Weather Template for Cumulus v.1.9.2

Post by JacquesD »

Hi Rob,

That page seems to tu use wrong style sheet (.css file). Website pages are composed of 2 dile usually:
1 html page for "content" and a .css file to give the layout of the page (pictures, colors, etc)

Yous other pages are "formatted" by "sunny_weather1.css" file (sunny_weather<?php echo $isdaylight;?>.css in the php file.
But the buggy file is actually using Cumulus standard "weatherstyle.css" file.

Change that file for the one in the .zip file and your page will be ok!

Jacques
Image
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: Sunny Weather Template for Cumulus v.1.9.2

Post by robynfali »

Is it ok just to change the extension from .html to .php
n9mfk
Posts: 845
Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL

Re: Sunny Weather Template for Cumulus v.1.9.2

Post by n9mfk »

Hi Rob,
you need to change the file
Beau
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: Sunny Weather Template for Cumulus v.1.9.2

Post by robynfali »

done, and sorted, thanks
User avatar
mcrossley
Posts: 12766
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Sunny Weather Template for Cumulus v.1.9.2

Post by mcrossley »

Jacques, there seems to be something a little odd with the units alignment on the 'Now' page?
Capture.JPG
You do not have the required permissions to view the files attached to this post.
n9mfk
Posts: 845
Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL

Re: Sunny Weather Template for Cumulus v.1.9.2

Post by n9mfk »

Hi Mark is that from the php set?
Beau
User avatar
mcrossley
Posts: 12766
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Sunny Weather Template for Cumulus v.1.9.2

Post by mcrossley »

I guess so, it's from Robs site.
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: Sunny Weather Template for Cumulus v.1.9.2

Post by robynfali »

noticed that before me :clap:
n9mfk
Posts: 845
Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL

Re: Sunny Weather Template for Cumulus v.1.9.2

Post by n9mfk »

Two question
1. what web browser ?
2 what part of the page is that?
beau
User avatar
mcrossley
Posts: 12766
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Sunny Weather Template for Cumulus v.1.9.2

Post by mcrossley »

1. Same in Chrome and IE9
2. Middle of the 'Now' page.

But the problem is with Jacques original template, it appears on his demo page too.
User avatar
JacquesD
Posts: 609
Joined: Tue 27 Jul 2010 3:51 am
Weather Station: National Geographic 265nc
Operating System: XP SP3
Location: St-Ours, Québec, Canada
Contact:

Re: Sunny Weather Template for Cumulus v.1.9.2

Post by JacquesD »

Hi Mark,

I don't know what you mean.
Labels in that square are align to the right, and values to the left... it's not ok?

Jacques
Image
User avatar
mcrossley
Posts: 12766
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Sunny Weather Template for Cumulus v.1.9.2

Post by mcrossley »

I'd have expected it to look more like this...
Capture.JPG
Or even make the units the same size and colour as the values.
You do not have the required permissions to view the files attached to this post.
User avatar
JacquesD
Posts: 609
Joined: Tue 27 Jul 2010 3:51 am
Weather Station: National Geographic 265nc
Operating System: XP SP3
Location: St-Ours, Québec, Canada
Contact:

Re: Sunny Weather Template for Cumulus v.1.9.2

Post by JacquesD »

Hi,

OK! I've made a mistake in index.htm, by using sub/superscrib, this caused a misalignment.
To correct that whitout reinstaling, do that modification :
<tr>
<td style="text-align:right">Temperature :</td>
<td style="text-align:left"><strong><#temp></strong><sup><#tempunit></sup></td>
</tr><tr>
<td style="text-align:right">Humidity :</td>
<td style="text-align:left"><strong><#hum></strong><sup>%</sup></td>
</tr><tr>
<td style="text-align:right">Wind :</td>
<td style="text-align:left"><strong><#wspeed></strong><sub><#windunit></sub></td>
</tr><tr>
Simply replace <sub>...</sub> and <sup>...</sup> BY <small>...</small>
That will fo the job!

Note : For PHP version, you have to apply same modification, but your lines look like this
<td style="text-align:left"><strong><?php echo $temp;?></strong><sup><?php echo $tempunit;?></sup></td>
(Simply replace sub and sup as the html version)

ALSO, in system_all.htm , Online since is wrong!
The wrong line is :

Code: Select all

<h3>Online : <small>Since <#LastRainTipISO format="d mmmm yyyy"></small></h3>
The corrected line will have to look like this :

Code: Select all

<h3>Online : <small>Since <#recordsbegandate format="d mmmm yyyy"></small></h3>"
(simply replace LastRainTipISO BY recordsbegandate.

I'll modify template and send a corrected copy soon.

Jacques
Image
n9mfk
Posts: 845
Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL

Re: Sunny Weather Template for Cumulus v.1.9.2

Post by n9mfk »

new php files posted above
Beau
n9mfk
Posts: 845
Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL

Re: Sunny Weather Template for Cumulus v.1.9.2

Post by n9mfk »

Hi All,
I am look for someone using the php Weather Template set an your cumulus pc set to 24 hour time if you like to help me test some things please let me known
Beau
Post Reply