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
Widen the template slightly
Moderator: saratogaWX
-
- Posts: 1808
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Widen the template slightly
Hi Ken
Firstly, I'd like to say well done on your template! After looking at it for years and years but never getting around to it, i've finally set it up to run alongside the other templates I have running. It has all been straightforward too!
I plan on keeping it the same colour and width- blue/narrow. I wondered if it was an easy thing to widen it by another 100px or so? Is it just one thing I need to change in the css? Or is it more? I didn't want to start fiddling (which I usually do) and find that I'd need to change many things to match it.
Once again, great work!
Best regards.
Firstly, I'd like to say well done on your template! After looking at it for years and years but never getting around to it, i've finally set it up to run alongside the other templates I have running. It has all been straightforward too!
I plan on keeping it the same colour and width- blue/narrow. I wondered if it was an easy thing to widen it by another 100px or so? Is it just one thing I need to change in the css? Or is it more? I didn't want to start fiddling (which I usually do) and find that I'd need to change many things to match it.
Once again, great work!
Best regards.
- saratogaWX
- Posts: 1185
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Widen the template slightly
Thanks for the kind words..
Yes, widening the overall width is just a simple CSS tweak. The page width for the weather-screen-blue-narrow.css is set by
Tweaking the left sidebar is quite a bit more complicated when using the flyout-menu as the css is dynamically generated.
Yes, widening the overall width is just a simple CSS tweak. The page width for the weather-screen-blue-narrow.css is set by
Code: Select all
#page {
margin: 20px auto;
color: black;
background-color: white;
padding: 0;
width: 800px;
border: 1px solid #959596;
}
-
- Posts: 1808
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Widen the template slightly
Brilliant! Thank you Ken.
While I'm here, I don't suppose I can request my station to be included on your network/station links?
Details are:
Software: Cumulus
Location: Wareham, Dorset - United Kingdom.
Best regards.
While I'm here, I don't suppose I can request my station to be included on your network/station links?
Details are:
Software: Cumulus
Location: Wareham, Dorset - United Kingdom.
Best regards.
- saratogaWX
- Posts: 1185
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Widen the template slightly
Done... thanks for asking
- ConligWX
- Posts: 1613
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Widen the template slightly
Ken, Could you add my Site too?saratogaWX wrote:Done... thanks for asking
Software: Cumulus
Location: Conlig, Co. Down - United Kingdom. - www.conligwx.org
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- saratogaWX
- Posts: 1185
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Widen the template slightly
Sure.. all done
-
- Posts: 1808
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Widen the template slightly
Hi Ken
I didn't want to start a new thread really..
I just wondered if you've had an reports of problems with the buoy data script?
I just uploaded the necessary files, and I suddenly got locked out of my hosting. I did some digging, and buoy-data.php is causing the issues. It says there is malicious code inside file. My hosting cuts my access, and then deletes the file
It's a shame, as that script would be very useful to me.
I didn't want to start a new thread really..
I just wondered if you've had an reports of problems with the buoy data script?
I just uploaded the necessary files, and I suddenly got locked out of my hosting. I did some digging, and buoy-data.php is causing the issues. It says there is malicious code inside file. My hosting cuts my access, and then deletes the file
It's a shame, as that script would be very useful to me.
- saratogaWX
- Posts: 1185
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Widen the template slightly
I saw that issue with another site. Their 'malware detector' was choking on a couple of PHP comments in the code
Their scanner was looking for 'include("http://' likely and didn't note it was a comment (not executed).
Just delete those lines and upload the script.. it will likely 'stick' and not be flagged by the over-zealous and not-too-smart 'malware detector' script they use.
Code: Select all
// in the <head></head> portion of your page insert
// <?php include("http://your.website/buoy-data.php?inc=CSS");
// and in the <body> portion where you'd like the map/table to appear
// <?php include("http://your.website/buoy-data.php?inc=Y");
// Note: you must include the CSS in your <head> part otherwise the
// mesomap will not be formatted correctly.
Just delete those lines and upload the script.. it will likely 'stick' and not be flagged by the over-zealous and not-too-smart 'malware detector' script they use.
-
- Posts: 1808
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Widen the template slightly
Thanks Ken - appreciate that, all working!saratogaWX wrote:I saw that issue with another site. Their 'malware detector' was choking on a couple of PHP comments in the codeTheir scanner was looking for 'include("http://' likely and didn't note it was a comment (not executed).Code: Select all
// in the <head></head> portion of your page insert // <?php include("http://your.website/buoy-data.php?inc=CSS"); // and in the <body> portion where you'd like the map/table to appear // <?php include("http://your.website/buoy-data.php?inc=Y"); // Note: you must include the CSS in your <head> part otherwise the // mesomap will not be formatted correctly.
Just delete those lines and upload the script.. it will likely 'stick' and not be flagged by the over-zealous and not-too-smart 'malware detector' script they use.