Page 1 of 1
Standard files
Posted: Thu 05 Jan 2012 6:39 pm
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.
Re: Standard files
Posted: Thu 05 Jan 2012 7:29 pm
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.
Re: Standard files
Posted: Thu 05 Jan 2012 8:16 pm
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.
Re: Standard files
Posted: Fri 06 Jan 2012 1:45 pm
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.

Re: Standard files
Posted: Fri 06 Jan 2012 2:10 pm
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...

Otherwise it becomes bad web page design/programming.

Re: Standard files
Posted: Sun 08 Jan 2012 7:51 pm
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
Re: Standard files
Posted: Sun 08 Jan 2012 9:05 pm
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.
Re: Standard files
Posted: Sun 08 Jan 2012 9:33 pm
by beeman
Thanks Steve,

Must do more reading ....
I thought it was a file of placeholders
Re: Standard files
Posted: Mon 09 Jan 2012 12:12 am
by beteljuice
Unless you are going to use JavaScript or PHP templates that upload serves no purpose

Re: Standard files
Posted: Mon 09 Jan 2012 8:35 am
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