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

Yet Another Dayfile Reader (PHP)

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

Moderator: daj

User avatar
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: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

Thanks Mark :clap:

I've done a few other small tweaks to the css (a dangerous thing with the beteljuice)
I've only done 700px css ATM, but you can see the result in Edit: link removed, no longer relevant

Edit: If it doesn't look right good - force a refresh (for the css to reload)

In the main file I have removed the menu split option, but added the (page owners) choice of button or dropdown options.

Mille Gracis :clap:

I will doing the other css files and releasing everything later .... :lol:
Last edited by beteljuice on Mon 02 Jun 2014 11:54 am, edited 2 times in total.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by laulau »

Before doing other css look at this :o
Capture.JPG
You do not have the required permissions to view the files attached to this post.
Laurent

Image
User avatar
mcrossley
Posts: 12766
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by mcrossley »

Force a refresh in your browser, I think it is using an old cached copy of the CSS file - mine did the same.
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by laulau »

It's not the first time :bash: :bash: :bash:
Laurent

Image
User avatar
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: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

MAJOR UPDATE

Incorporating conversations above ...

20 Feb 2014 - v2.0
  • ALL css files updated because
    betel_readDayfile modified - DO NOT MIX OLD AND NEW !
    .. menu_split option REMOVED (Redundant with improved css)
    .. Buttons OR dropdown choice of menu ADDED
    "How To .." file updated
Download files in first post ...
Last edited by beteljuice on Thu 20 Feb 2014 10:56 am, edited 1 time in total.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by laulau »

Just downloaded the complete zip file, seem's that it is V1.51 in it

Code: Select all

// Version: V1.5.1 Release - 18 Feb 2014
or have i missed something ?

In the 'Howwto' file it is V2 :oops:
Laurent

Image
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by laulau »

beteljuice wrote:MAJOR UPDATE

Incorporating conversations above ...

16 Feb 2014 - v2.0
  • ALL css files updated because
    ...

16 Feb 2014 - v2.0
:?: :?:
You were tired :lol:
Laurent

Image
westonweather
Posts: 166
Joined: Sun 29 Dec 2013 8:37 am
Weather Station: WMR88
Operating System: Windows 7
Location: Weston-super-Mare
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by westonweather »

Indeed, Looks like the wrong readDayfile.php is in the ZIP file as the Menu Split option is still there and no dropdown option.
User avatar
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: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

westonweather wrote:Indeed, Looks like the wrong readDayfile.php is in the ZIP file as the Menu Split option is still there and no dropdown option.
Sorry !!! :oops: :bash:
Release distribution zip updated.

EDIT: beteljuice unforced error fixed !

Or if you already have the new css you can just have the readDayfile.php.

Edit: Oops - download again please, missed a 5px. tweak !

Edit#2: Oops#2 - download yet again please, missed a global !
Last edited by beteljuice on Mon 24 Feb 2014 3:22 pm, edited 3 times in total.
Image
......................Imagine, what you will KNOW tomorrow !
westonweather
Posts: 166
Joined: Sun 29 Dec 2013 8:37 am
Weather Station: WMR88
Operating System: Windows 7
Location: Weston-super-Mare
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by westonweather »

Installed & Working: http://www.westonweather.co.uk/daybyday.php

Where can I adjust the spacing slightly of the Menu Bar? You will see it overlaps slightly with the section below.

This is in the StyleSheet I'm guessing?

p.s. - Looks much better on mobile device (iPad & iPhone).
User avatar
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: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

@ ALL

Must have had a bad day - missed a 5px tweak, please download again from above or first page :oops: :oops:

@ westonweather

Interesting .. your page behaves pretty much as I expected the original to, but I had to css code around to make things 'sit' properly (css and the beteljuice do not have the same outlook on the world)

Try this CSS file (It has comments) Edit: link removed - no longer relevent.
Last edited by beteljuice on Mon 24 Feb 2014 3:23 pm, edited 1 time in total.
Image
......................Imagine, what you will KNOW tomorrow !
westonweather
Posts: 166
Joined: Sun 29 Dec 2013 8:37 am
Weather Station: WMR88
Operating System: Windows 7
Location: Weston-super-Mare
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by westonweather »

That's interesting. Changed the CSS file, looks good.

Updated to the newer readDayfile and it's broken my page. When it first loads it looks fine, when you select a different paramter it forces the page to load within itself, rather than just refresh the data.

http://www.westonweather.co.uk/daybyday.php
westonweather
Posts: 166
Joined: Sun 29 Dec 2013 8:37 am
Weather Station: WMR88
Operating System: Windows 7
Location: Weston-super-Mare
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by westonweather »

OK, can confirm it's NOT the CSS file that broke it, I rolled back to the previous one, spacing went wrong again and page still loads within itself, new CSS reinstalled, spacing fixed, page still loading incorrectly.

Something has just changed in the readDayfile that has upset the page.
User avatar
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: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

Arggh !!!!! the beteljuice must try and get a nap at least once a week - that and do better housekeeping on all the different variants of the files I now have !!

Sorry - Sorry - Sorry
The beteljuice 'lost' a global declaration between working versions.

Updated - yet again above (stand-alone) or distrubution in first post.

I shall do no more until I have visited the local hostelry for liquid anaesthesia :bash:
Image
......................Imagine, what you will KNOW tomorrow !
water01
Posts: 3254
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by water01 »

I shall do no more until I have visited the local hostelry for liquid anaesthesia
:lol: :lol: :lol: :lol: :lol:
David
Image
Post Reply