Hi Steve
I have been playing with changing colour schemes etc and have somehow accidentally broken the monthlyrecords page. I accidentally highlighted the month buttons when changing colours. I saved and uploaded the page but now the buttons won't change the months.
Sorry it's a tad vague, but can you think what I might have done? I have compared it to a backup copy and I cant see any difference.
Thanks awfully.
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
messed up monthly records
-
nickjwhite
- Posts: 152
- Joined: Thu 11 Nov 2010 4:50 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 10 Pro
- Location: Felixstowe UK
- Contact:
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: messed up monthly records
This code on line 145:
needs a 'span' with an ID of 'MonthName' around the month, so it can be updated:
There may be other errors, but that will get you a bit further, it's where the javascript execution is currently terminating. If you turn on the javascript console in your browser, you'll be able to see where it stops with an error.
Code: Select all
<span class="style1">Records for the month of January</span>Code: Select all
<span id="MonthName">January</span>Steve
-
nickjwhite
- Posts: 152
- Joined: Thu 11 Nov 2010 4:50 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 10 Pro
- Location: Felixstowe UK
- Contact:
Re: messed up monthly records
Steve
Sorry, I can see the line 145 and the content as you have typed. Where exactly does the next bit need to be?
The javascript console on Chrome doesn't seem to show me anything I recognise
I have attached my MonthlyrecordsT.htm
Sorry, I can see the line 145 and the content as you have typed. Where exactly does the next bit need to be?
The javascript console on Chrome doesn't seem to show me anything I recognise
I have attached my MonthlyrecordsT.htm
You do not have the required permissions to view the files attached to this post.
Nick White
http://www.oldfelixstowe.co.uk
http://www.oldfelixstowe.co.uk
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: messed up monthly records
You need to change:
to:
Code: Select all
<span class="style1">Records for the month of January</span>Code: Select all
<span class="style1">Records for the month of <span id="MonthName">January</span></span>-
nickjwhite
- Posts: 152
- Joined: Thu 11 Nov 2010 4:50 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 10 Pro
- Location: Felixstowe UK
- Contact:
Re: messed up monthly records
Mark/Steve
Thankyou so much. All sorted and working now
Thankyou so much. All sorted and working now
Nick White
http://www.oldfelixstowe.co.uk
http://www.oldfelixstowe.co.uk