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

Cumulus setup option

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Cumulus setup option

Post by laulau »

Hi Steve,

Is it possible to add an option in cumulus install process to just upgrade to preserve the modified web files?
(i mean template files, weatherstyle.css, dashboard.js ....)

Thanks
Laurent

Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus setup option

Post by steve »

Well, yes, it's possible... I'd have to learn how to use the installer, though, I'm not doing anything 'clever' with it at the moment.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus setup option

Post by steve »

It looks like this is fairly easy to do, by making the HTML templates into an optional 'component'. I propose to only include the template files in the option, as the other files live on your web site anyway, so if you have your own versions, it doesn't matter if Cumulus overwrites them. It's only the template files which have to be kept in the Cumulus web folder.

Of course, anyone choosing the option to not install the templates won't get to see any changes that might have been made.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus setup option

Post by steve »

steve wrote:Of course, anyone choosing the option to not install the templates won't get to see any changes that might have been made.
I've made the installer put a copy of the templates into a web\originals folder, even if the option to not install into the web folder is chosen.
Steve
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Cumulus setup option

Post by laulau »

That's nice :D
I think i'm not the only one that will use this install option ;)
Thanks
Laurent

Image
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: Cumulus setup option

Post by beteljuice »

Sort of a nice idea, but .......
Whilst you will preseverse you personal templates, you also don't discover any (perhaps) better style / layout that may have been introduced (albiet rarely)

I'm not sure what a happy comprise might be, I still think the philosphy of keeping a COPY of your own templates in a 'safe' area is best.
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply