Page 1 of 1

Current Conditions (bit of a stupid question)

Posted: Sat 31 Jan 2015 9:59 am
by Smithee
Morning all,

I have a dashboard running using Ajax to change the values/background colour by temp:

http://weather.casa.ucl.ac.uk/dashboard.htm

I am just wondering how to get the current conditions ajax tag to work? - I note from the wiki that you need cumulus to process currentconditions.txt but i can t find an example of the file to put in my cumulus folder...

Perhaps its a lack of coffee this morning, but any help or a copy of currentconditions.txt to process would be great :)

Andy

Re: Current Conditions (bit of a stupid question)

Posted: Sat 31 Jan 2015 10:35 am
by water01
A text file containing your text i.e. "This is the current condition at 10.34 , rain, cold and dull".

Re: Current Conditions (bit of a stupid question)

Posted: Sat 31 Jan 2015 11:28 am
by beteljuice
... but i can t find an example of the file to put in my cumulus folder.
Just put something 'in the box' of the Cumulus console and it will be created, but as water01 says it's just a simple txt file that gets put into a <#webtag>.

You make like to play with this: https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=12831

BTW. Why are you loading jquery twice ?

Re: Current Conditions (bit of a stupid question)

Posted: Sat 31 Jan 2015 12:32 pm
by Smithee
Fab thanks - as for the jquery twice - mainly due to human error :)

Thanks as ever for the help

Andy