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
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
Ajaxed index-page
Moderator: daj
-
arthurhh
- Posts: 63
- Joined: Thu 18 Sep 2008 8:40 pm
- Weather Station: Davis VP pro 2
- Operating System: Win7
- Location: Tokoroa South Waikato New Zealand
- Contact:
Re: Ajaxed index-page
Its a short work week in NZ this week, and I lose another day to travel so I won't have much time to play this week.
Thanks for the tips, it saves me a bit of pulling it apart to find out how it works then adjusting to my pages.
Thanks for the tips, it saves me a bit of pulling it apart to find out how it works then adjusting to my pages.
- Paul C
- Posts: 538
- Joined: Thu 19 Jun 2008 7:45 am
- Weather Station: Davis VP2 with solar
- Operating System: Windows 10
- Location: Brampton, Cumbria, UK
- Contact:
Re: Ajaxed index-page
Jozef.
Every time we update Cumulus with a new version will we have to reload the indexT file into the "web" folder of cumulus ?
Does the .js file need uploading aswell ?
tks
Every time we update Cumulus with a new version will we have to reload the indexT file into the "web" folder of cumulus ?
Does the .js file need uploading aswell ?
tks
-
pinto
- Posts: 112
- Joined: Sat 11 Oct 2008 3:20 pm
- Weather Station: Davis Vantage Pro 2 Plus
- Operating System: Debian Buster
- Contact:
Re: Ajaxed index-page
.js file upload is not neededPaul C wrote:Jozef.
Every time we update Cumulus with a new version will we have to reload the indexT file into the "web" folder of cumulus ?
Does the .js file need uploading aswell ?
tks
Now, for the easy way of doing this, steve created a place to do uploads of individual files
What you can do is
1. untick "include standart files in the internet setup of Cumulus
2. use the boxes on the same screen to upload all 6 files.
(number 1 your new indexT.htm file you have in a folder somewhere on your PC, not in the web-folder)
I put my templatefiles inside Cumulus/my_templates/
(number 2 to 6 the other files from inside your "web" folder of Cumulus)
Doing thing this way, you can safely update Cumulus without overwriting the IndexT.htm-file every time you do an upgrade
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Ajaxed index-page
I've just done a change which will hopefully make this a bit easier.
Currently, Cumulus uploads the extra files, then the standard files, then the images. I've changed it so that it does the extra files last. This means that you can still upload the standard files, then over-write any that you have changed. It just saves putting the details in of all the unchanged ones, if you've only changed one or two.
Don't forget that with the 'extra files', the file names don't change, so you probably don't want to call your own file indexT.htm!
Steve
Currently, Cumulus uploads the extra files, then the standard files, then the images. I've changed it so that it does the extra files last. This means that you can still upload the standard files, then over-write any that you have changed. It just saves putting the details in of all the unchanged ones, if you've only changed one or two.
Don't forget that with the 'extra files', the file names don't change, so you probably don't want to call your own file indexT.htm!
Steve
- Super-T
- Posts: 906
- Joined: Tue 09 Sep 2008 3:37 am
- Weather Station: wh-1081
- Operating System: Weather Laptop - Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Ajaxed index-page
As a matter of interest, is there any way of forcing the creation of the htm files from the template files rather than wait for the programme every time I edit the htm templates?
- Super-T
- Posts: 906
- Joined: Tue 09 Sep 2008 3:37 am
- Weather Station: wh-1081
- Operating System: Weather Laptop - Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Ajaxed index-page
Yes, I know about that but when I was uploading, it didn't appear to update the files as the time and date remained the same after refresh.
If I deleted the non-template files, then uploaded, the files were created correctly.
I have to do more research, when time allows, to see if there was a problem.
If I deleted the non-template files, then uploaded, the files were created correctly.
I have to do more research, when time allows, to see if there was a problem.
-
Bob
- Posts: 67
- Joined: Thu 04 Sep 2008 12:03 pm
- Weather Station: Watson W-8681
- Location: Whixall, Shropshire.
- Contact:
Re: Ajaxed index-page
This is a terrific improvement over the standard index page...well done.
I love the way it flashes red for 2 seconds if a value changes....Steve that would be a nice addition to the main Cumulus console (the flashing if change bit)
Cheers
Bob
I love the way it flashes red for 2 seconds if a value changes....Steve that would be a nice addition to the main Cumulus console (the flashing if change bit)
Cheers
Bob
- gwheelo
- Posts: 453
- Joined: Wed 11 Jun 2008 7:36 pm
- Weather Station: WMR-88
- Operating System: Windows 8.1
- Location: L'Estartit, Spain
- Contact:
Re: Ajaxed index-page
Pinto -
Your "Trend" page is terrific. I would very much like to incorporate your style for my "Trends" page. What is required to reproduce the graphs and their thumbnails. Does your script require any thing more than "AjaxCumulus.js" and "realtime.txt" to function.
GW
Your "Trend" page is terrific. I would very much like to incorporate your style for my "Trends" page. What is required to reproduce the graphs and their thumbnails. Does your script require any thing more than "AjaxCumulus.js" and "realtime.txt" to function.
GW
-
pinto
- Posts: 112
- Joined: Sat 11 Oct 2008 3:20 pm
- Weather Station: Davis Vantage Pro 2 Plus
- Operating System: Debian Buster
- Contact:
Re: Ajaxed index-page
"Trend" page needs no AjaxCumulus.jsgwheelo wrote:Pinto -
Your "Trend" page is terrific. I would very much like to incorporate your style for my "Trends" page. What is required to reproduce the graphs and their thumbnails. Does your script require any thing more than "AjaxCumulus.js" and "realtime.txt" to function.
GW
You need Kevins TNETWeather jpgraphs package(donate), if you have that working, you have to find out how to make those tumbnails and graphs using a shell-script and ImageMagic(you need SSH login, first ask your ISP if you can use ImageMagic)
Then start a new topic, and I try to help you (it is not easy)
- Paul C
- Posts: 538
- Joined: Thu 19 Jun 2008 7:45 am
- Weather Station: Davis VP2 with solar
- Operating System: Windows 10
- Location: Brampton, Cumbria, UK
- Contact:
Re: Ajaxed index-page
Jozef.
I agree you have done a good job with the graphs incorporating them into Steve template. I particularly like the rainfall and Max/Min graph.
I agree you have done a good job with the graphs incorporating them into Steve template. I particularly like the rainfall and Max/Min graph.
-
pinto
- Posts: 112
- Joined: Sat 11 Oct 2008 3:20 pm
- Weather Station: Davis Vantage Pro 2 Plus
- Operating System: Debian Buster
- Contact:
Re: Ajaxed index-page
Thanks for the complementsPaul C wrote:Jozef.
I agree you have done a good job with the graphs incorporating them into Steve template. I particularly like the rainfall and Max/Min graph.
For the day by day rain and the Max/Min graph I did setup a little script on my system to send the last 31 lines from dayfile.txt to the server(and create the graphs on the server)
Re: Ajaxed index-page
pinto wrote:fact is, it is only some javascript that is calling the realtime.txt on the server every 5 seconds
and only updates the values without refreshing the page itself
This indexT.htm file is the original file, modified are only the tags used in the page
~~> I have not seen css in this file, thought it was in weatherstyle.css
this file uses the weatherstyle.css file you have on your server
BACKUP BACKUP BACKUP !!!!
Like to make link on banner how?
-
pinto
- Posts: 112
- Joined: Sat 11 Oct 2008 3:20 pm
- Weather Station: Davis Vantage Pro 2 Plus
- Operating System: Debian Buster
- Contact:
Re: Ajaxed index-page
You want this ?

Code: Select all
[url=http://www.aadal.biz/~weather/index.htm][img]http://www.aadal.biz/~weather/banner.php[/img][/url]-
Fox_Of_The_Wind
- Posts: 13
- Joined: Sat 29 Nov 2008 1:50 pm
- Weather Station: Davis Vantage Pro 2
- Location: De Soto Wisconsin USA
- Contact:
Re: Ajaxed index-page
I just updated Cumulus and now my auto updateing index page is no longer updateing. Do I have to download the files from this thread again?
Looks like I did. It is auto updateing again. This is so neat!
Looks like I did. It is auto updateing again. This is so neat!
