Page 1 of 1

Cumulus 1.8.6 install question

Posted: Wed 25 Mar 2009 10:39 pm
by bnwrx
If you've edited the index and weatherstyle files from 1.8.5, and then install 1.8.6, will all of the edits be overwritten? If you save those edited files and then use them with 1.8.6, does that overwrite the "New Look" web pages contained in 1.8.6?

Re: Cumulus 1.8.6 install question

Posted: Wed 25 Mar 2009 10:43 pm
by beteljuice
Yes and Yes

Re: Cumulus 1.8.6 install question

Posted: Wed 25 Mar 2009 10:51 pm
by bnwrx
Thanks. Is there an easy way to apply those edits to the new files? Or do you just have to manually make them as you did originally?

Re: Cumulus 1.8.6 install question

Posted: Thu 26 Mar 2009 12:04 am
by dc1500
I suspect this is an issue for many of us who have modded the style sheet and indexT file. Is there any easy way of finding out the changes (i.e are they documented anywhere) so we can put just the new bits into our files? On reflection I suppose it would be better to download the new files and try and remember our own changes and add them to the new files.
Dave

Re: Cumulus 1.8.6 install question

Posted: Thu 26 Mar 2009 12:43 am
by MarkB
Backup your Cumulus\web folder weatherstyle.css and cumulus.ini *BEFORE* you do the upgrade. Let the upgrade overwrite your templates. Push the new webfiles up to your server. Take a look at the new web-pages to assess the changes. Take a copy of the new html files if you want to refer back to them. Copy your Cumulus\web folder back, along with the weatherstyle.css and cumulus.ini files. Modify your template files to add any of the new features you want to incorporate.

Works for me!

:D

Re: Cumulus 1.8.6 install question

Posted: Thu 26 Mar 2009 9:00 am
by steve
MarkB wrote: Modify your template files to add any of the new features you want to incorporate.
This is pretty much the way I saw it working. You're either using the supplied pages as-is, or you're not. If you're not and you see anything in any updated pages that you want to use, feel free to use it. I don't propose to start documenting in detail any changes, because the pages are there for you to see and the changes are obvious. If I do any 'invisible' changes - bug fixes or whatever, I'll try to remember to mention them.

Basically, the changes are:

1. The section between the location and the "welcome..." bit of all of the files has changed. In the indexT.htm file, it has become:

Code: Select all

<h2 style="text-align: left; text-transform: none;">&nbsp;Latitude&nbsp;<#latitude>&nbsp;&nbsp;&nbsp;&nbsp;Longitude&nbsp;<#longitude>&nbsp;&nbsp;&nbsp;&nbsp;Elevation&nbsp;<#altitude></h2>
<!-- NEW Almanac -->
<table width="100%" border="0" cellpadding="10">
  <tbody><tr>
    <td class="labels">Dawn:</td>
    <td class="site_data" style="text-align: left;"><#dawn></td>
    <td class="labels">Sunrise:</td>
    <td class="site_data" style="text-align: left;"><#sunrise></td>
    <td class="labels">Moonrise:</td>
    <td class="site_data" style="text-align: left;"><#moonrise></td>
    <td rowspan="3"><img src="images/moon.bmp" alt="Moon" width="64" align="left" border="0" height="64" hspace="10"></td>
  </tr>
  <tr>
    <td class="labels">Dusk:</td>
     <td class="site_data" style="text-align: left;"><#dusk></td>
    <td class="labels">Sunset:&nbsp;</td>
    <td class="site_data" style="text-align: left;"><#sunset></td>
    <td class="labels">Moonset:</td>
    <td class="site_data" style="text-align: left;"><#moonset></td>
  </tr>
  <tr>
    <td class="labels">Daylight:</td>
    <td class="site_data" style="text-align: left;"><#daylightlength></td>
    <td class="labels">Day length:</td>
    <td class="site_data" style="text-align: left;"><#daylength></td>
    <td class="labels">Moon Phase:</td>
    <td class="site_data" style="text-align: left;"><#moonphase></td>
  </tr>
</tbody></table>
<!-- END Almanac -->
In all of the other files, it is simply:

Code: Select all

<h2 style="text-align: left; text-transform: none;">&nbsp;Latitude&nbsp;<#latitude>&nbsp;&nbsp;&nbsp;&nbsp;Longitude&nbsp;<#longitude>&nbsp;&nbsp;&nbsp;&nbsp;Elevation&nbsp;<#altitude></h2>
2. "Rainfall last hour" has been added to the rainfall section of the indexT.htm file:

Code: Select all

<tr class="td_rainfall_data">
    <td>Rainfall&nbsp;Last Hour</td>
    <td><#rhour>&nbsp;<#rainunit></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
3. The footer on each file has become:

Code: Select all

<p class="credits"><br>
Page updated <#update><br>
powered by
<a href="http://sandaysoft.com/products/cumulus" target="_blank">Cumulus</a> v<#version> (<#build>)
</p>
The only change to weatherstyle.css is because the pages are now using the <h2> tags. This was set to a green colour from the old-style pages from years ago. I've changed it to a blue colour to fit better with the latest colour scheme:

color: #555555;
background-color: #c0cad3;

I've just noticed that there are two h2 definitions in the style sheet; I'm not actually sure what the effect of this is, it probably ought to be fixed. The above change is to the second one.

Steve

Re: Cumulus 1.8.6 install question

Posted: Thu 26 Mar 2009 9:38 am
by MarkB
steve wrote:two h2 definitions in the style sheet; I'm not actually sure what the effect of this is
I spotted this a while back - it seems to use the last definition...

Re: Cumulus 1.8.6 install question

Posted: Thu 26 Mar 2009 6:46 pm
by dc1500
Good, that's pretty much what I've been doing.
Thanks,
Dave