Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
GaugesT File Help.
Moderator: daj
GaugesT File Help.
Hi Guys, I am in the middle of a re-write of the website, I have copied over the parts of the html that I want to keep to my new templates, and all work except the gaugesT file, on upload and update from the systems here, I cannot get the Java scripts to run. They work OK for the Graphs (TrendsT), but I have obviously missed something here, any ideas what I should be looking for???
And whilst I am here, I had not updates the templates since version 1.8.1, and as the main software has changed, is there a list anywhere of any new <#variables> that I can add to the site????
Thanks
James
PS. The Website is at: http://www.manxdesigns.im
And whilst I am here, I had not updates the templates since version 1.8.1, and as the main software has changed, is there a list anywhere of any new <#variables> that I can add to the site????
Thanks
James
PS. The Website is at: http://www.manxdesigns.im
- 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: GaugesT File Help.
You seem to be missing all this:
Before the closing </body> tag in your template file.
Code: Select all
<script language="JavaScript1.2" type="text/javascript">
var tempunits = "<#tempunit>";
var tempos = new Array("<#RCtemp>","<#RCtempTL>","<#RCtempTH>","<#temptrendtext>");
var tempis = new Array("<#RCintemp>","","","");
var tempex1 = new Array("","","","");
var tempex2 = new Array("","","","");
var tempdp = new Array("<#RCdew>","","","");
var temphi = new Array("<#RCheatindex>","","","");
var tempwc = new Array("<#RCwchill>","","","");
var humos = new Array("<#RChum>","","","");
var humis = new Array("<#RCinhum>","","","");
var humex1 = new Array("","","","");
var humex2 = new Array("","","","");
var cloudbase = "<#cloudbase>";
var raintoday = new Array("<#RCrfall>","<#rainunit>","<#RCrrate>","<#RCrrateTM>");
var winddata = new Array("<#RCwgust>","<#bearing>","<#RCwspeed>","<#avgbearing>","<#RCwgustTM> <#windunit>, <#bearingTM>° at <#TwgustTM>");
var hwdir = new Array(<#wdirdata>);
var hwspd = new Array(<#wspddata>);
var wsu = "<#windunit>";
var bardata = new Array("<#RCpress>","<#pressunit>","<#presstrend>","<#RCpressTH>","<#RCpressTL>");
var TempColor = "";
var HumColor = "";
var RainColor = "";
var WindAvgColor = "";
var WindGustColor = "";
var WindHistColor = "";
var CloudTextColor = "";
var AnalogBaroTextColor = "";
var AnalogBaroNeedleColor = "";
var ExtraSensor1Name = "";
var ExtraSensor2Name = "";
</script>
<script language="JavaScript1.2" type="text/javascript" src="dbimages/dashboard.js"></script>
<script language="JavaScript1.2" type="text/javascript" src="dbimages/boxover.js"></script>
</body>
......................Imagine, what you will KNOW tomorrow !
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: GaugesT File Help.
I think the list of tags in the current help file is reasonably up to date - people do tell me from time to time when they spot one missing.
Steve
Steve
Re: GaugesT File Help.
I have added the list that you have posted bofore the /body tag, but I still cannot get it to work.
Also Dreamweaver is displaying an error with the following lines:
var hwdir = new Array(<#wdirdata>);
var hwspd = new Array(<#wspddata>);
Any other ideas of what I can try?
Also Dreamweaver is displaying an error with the following lines:
var hwdir = new Array(<#wdirdata>);
var hwspd = new Array(<#wspddata>);
Any other ideas of what I can try?
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: GaugesT File Help.
I can't see that javascript still on the page on your site?
Steve
Steve
Re: GaugesT File Help.
I have added it to the template, and resaved the pages again. I have then waited or the update to be posted from your software, then I have checked the source of the page, and the entries seem to be there!, what is missing???
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: GaugesT File Help.
I can see the code now, but you've put it at the top rather than the bottom as beteljuice said. I don't know enough about javascript or these gauges to know if that matters.
Steve
Steve
Re: GaugesT File Help.
It is right at the bottom of the template file, but it then gets greyed out and shuved to the top of the html file when it updates the pages.
Can I add it manually to the page? The only problem here will be that the lines will be in the file twice, will this work ok?
Can I add it manually to the page? The only problem here will be that the lines will be in the file twice, will this work ok?
Re: GaugesT File Help.
Tried adding another set of this data to the actual gaugesT.html file and this did not work either....
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: GaugesT File Help.
The (brief) instructions (which I should probably include with Cumulus) do say that it has to go at the very end:
"2. At the END of the <body> section immediately before the closing </body> tag insert the following code..."
Steve
"2. At the END of the <body> section immediately before the closing </body> tag insert the following code..."
Steve
Re: GaugesT File Help.
Thanks Steve, I managed to sort it in the end, i'm using a PVII Template and they have locked it down quite a bit, so a bit of hacking later and all is well.. Thanks again for the help and the pointers from all...
As for my other question? are there any other / or new variables to add to the site since 1.8.1, I have already added the extra 2 Trend Graphs, but was wandering what else is out there...
Thanks again
As for my other question? are there any other / or new variables to add to the site since 1.8.1, I have already added the extra 2 Trend Graphs, but was wandering what else is out there...
Thanks again
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: GaugesT File Help.
As I said (but I think I posted as you were posting, so you may have missed it) I think the list in the help file is pretty much up to date.
I also try to mention new tags in the changes file as I add them.
Steve
I also try to mention new tags in the changes file as I add them.
Steve