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

Render gauges in template

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
marius
Posts: 1
Joined: Wed 11 Dec 2013 9:13 am
Weather Station: n/a
Operating System: Windows 8
Location: Lakselv

Render gauges in template

Post by marius »

Hi everybody! I've been asked to edit the standard templates for cumulus, and I have stumbled upon a problem. The gauges renders incorrectly. I am not sure exactly what causes this, but hopefully someone can shed a light on this. It seems like the javascript that renders the overlay for the gauges are doing so too far up. There are also supposed to be text in a sister div on the right hand side of the gauges on the index page that is completely removed for some reason.

Using Firebug I can see that there are a lot of div's created that position the overlay. How do I edit the standard values for them?

Website is here: http://www.lksa.no/vm/

Edit: I actually managed to position the gauges on the frontpage correctly by creating a dummy div with the id of the gauge I want to render. However, this method did not work well on the gauges (Målere) page. No idea how to fix that.

Edit again: Sorry, managed to solve the last problem as well. Floating divs all over the place broke the JS. Clear fix to the rescue! :bash:
User avatar
N0BGS
Posts: 205
Joined: Sat 10 Nov 2012 2:26 am
Weather Station: Davis Vantage Pro 2
Operating System: Win10vm,VMWare ESXi 7.0
Location: Hermon, Maine USA
Contact:

Re: Render gauges in template

Post by N0BGS »

Your site looks very good now.

Well done!

--Kurt
Blitzortung Station 1809
Post Reply