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

Standard files

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

Moderator: daj

Post Reply
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Standard files

Post by Mapantz »

Hi,

I've seen a few Cumulus sites on here, where people have made a page which shows this month and this year data together. In effect, i'm guessing this saves a little bit of bandwidth when uploading. I'm contemplating doing this myself.
The question i ask is, how can you stop Cumulus from generating and uploading the thismonth.htm and thisyear.htm files?
I want to also stop gauges.htm from being generated and uploaded, including the gauges images, because I'm currently using the steel gauges in place of those.

Many thanks.
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: Standard files

Post by steve »

You can't currently turn off the uploading of individual pages, you have to turn them all off and then list the ones you do want on the 'files' tab of the internet settings. You can specify 20 files in total; 10 on that screen and a further 10 by editing cumulus.ini (further details on request). 20 files is generally enough if you just want to list html pages, but it starts getting limiting if you want to do it for the images as well, as there are 24 images and you would only want to be getting rid of three of them - the ones in the middle; the others aren't actually uploaded, so you wouldn't actually be saving much by turning off those anyway.

I should really increase the number of files you can supply via cumulus.ini, 20 is rather arbitrary and not sufficient if you want to start selecting images. Ideally I'd change the internet settings screen to allow an unlimited number of files, but that's rather more work.
Steve
User avatar
beelzebubs
Posts: 62
Joined: Sun 04 Oct 2009 10:18 pm
Weather Station: Davis VP2
Operating System: Windows 7
Location: Sweden
Contact:

Re: Standard files

Post by beelzebubs »

If you want to save bandwidth, I think you can move or remove the template files that you don't want (xxxxT.htm).
When Cumulus don't find any template, it just create a empty file 0kb.

It doesn't stop uploading, it just uploads the empty file.
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Standard files

Post by Mapantz »

beelzebubs wrote:If you want to save bandwidth, I think you can move or remove the template files that you don't want (xxxxT.htm).
When Cumulus don't find any template, it just create a empty file 0kb.

It doesn't stop uploading, it just uploads the empty file.
Yeah i've gone for that solution right now.
Thank you for the replies. :)
Image
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Standard files

Post by gemini06720 »

beelzebubs wrote:...I think you can move or remove the template files that you don't want (xxxxT.htm)...
As long as the menus at the bottom of remaining (kept) pages are edited to remove the links to the missing pages... :roll: Otherwise it becomes bad web page design/programming. ;)
beeman
Posts: 119
Joined: Sat 14 Mar 2009 1:04 pm
Weather Station: Davis Vantage Vue
Operating System: Raspbian
Location: South Oxfordshire, UK

Re: Standard files

Post by beeman »

I'm a total noob when it comes to web design etc. but I've been reading the Wiki and other documentation ;) . I came across the article in the Wiki about php webtags and have added cumuluswebtags.txt to the "Files" page to upload. The file is now on my web server as cumuluswebtags.php.

This file won't change (very often?), so is a one off upload sufficient and can I now take it off the "Files" page?

Thanks,
Dave
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: Standard files

Post by steve »

The file contains your current data, so it changes all the time and you need to keep uploading it. Otherwise the data on your web site won't change.
Steve
beeman
Posts: 119
Joined: Sat 14 Mar 2009 1:04 pm
Weather Station: Davis Vantage Vue
Operating System: Raspbian
Location: South Oxfordshire, UK

Re: Standard files

Post by beeman »

Thanks Steve,
:oops: :oops: Must do more reading ....

I thought it was a file of placeholders
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: Standard files

Post by beteljuice »

Unless you are going to use JavaScript or PHP templates that upload serves no purpose ;)
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
JennyLeez
Posts: 336
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: Standard files

Post by JennyLeez »

Mapantz wrote:Hi,
I want to also stop gauges.htm from being generated and uploaded, including the gauges images, because I'm currently using the steel gauges in place of those.

Many thanks.
Hi,
You need to upload and run both the steel gauges and the default gauges.htm.
Change the menu at the bottom on all ....T pages to link to the steel gauges though.
The reason you need to still process and run the original gauges.htm is because a lot of the older browser versions can not display the steel gauges and when this happens the page will load the original gauges.htm instead.
Cheers
Jenny
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
Post Reply