Update footer.php ( seasons defined till 2023 )

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Update footer.php ( seasons defined till 2023 )

Post by davidefa » Sun Mar 21, 2021 12:52 am

I found today that my meteotemplate homepage does not show the current season icon in the lower left corner.
I updated the footer.php script ( extended season definition up to 2023 ).

NOTE
Copy to the root folder of meteotemplate
No update is necessary if you use meteorological seasons
Attachments
footer.zip
(5.52 KiB) Downloaded 221 times
Last edited by davidefa on Sun Mar 28, 2021 7:33 pm, edited 2 times in total.
Image

User avatar
Jolumarali
Forecaster
Forecaster
Posts: 240
Joined: Sun Aug 20, 2017 2:06 pm
Location: Lignerolles
Station model: Vantage Vue
Software: WlIP
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by Jolumarali » Sun Mar 21, 2021 7:19 am

grazie mólto
correzione effettuata

buona giornata

José Luis
Image
Station météo amateur Lignerolles
OS : Windows 10 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya

https://meteo-lignerolles.fr

José Luis

User avatar
Meteopomezia
Observer
Observer
Posts: 22
Joined: Wed May 29, 2019 3:44 pm
Location: Pomezia/Italy
Station model: Davis Pro 2
Software: Wview
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by Meteopomezia » Sun Mar 21, 2021 10:29 am

Thanks, correction made

User avatar
LOBWX
Forecaster
Forecaster
Posts: 104
Joined: Sun Mar 11, 2018 6:43 pm
Location: Los Osos, CA
Station model: Ambient WS 1401-IP
Software: MeteoBridge
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by LOBWX » Mon Mar 22, 2021 9:44 pm

Thank you Sir.
Just BE NICE! That's all it takes to be a decent human...

User avatar
magical46
Observer
Observer
Posts: 49
Joined: Mon Aug 21, 2017 2:19 pm
Location: Farnham, Surrey, UK
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by magical46 » Sat Mar 27, 2021 9:26 pm

Hi, can you tell me where the new footer.php should be installed to, I can't find where the original is ?
Phil
Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by davidefa » Sat Mar 27, 2021 9:32 pm

Copy to the root folder of meteotemplate
Image

User avatar
magical46
Observer
Observer
Posts: 49
Joined: Mon Aug 21, 2017 2:19 pm
Location: Farnham, Surrey, UK
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by magical46 » Sat Mar 27, 2021 9:36 pm

OK, done now, thanks for the update
Phil
Image

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by John B » Sat Mar 27, 2021 11:37 pm

Hello again, Davide,

Was this necessary? My site has been behaving as it should. I do though use meteorological seasons. The setting for that is at the very bottom of the main setup page.

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by davidefa » Sun Mar 28, 2021 1:20 pm

No, the update is not necessary for meteorological seasons, as the beginning is fixed
Image

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by John B » Sun Mar 28, 2021 6:58 pm

Ah! Thanks, Davide. I really should have thought that through a little more. :oops:

Thanks for taking time to answer.

Regards,
John

eracerhead
Newbie
Newbie
Posts: 8
Joined: Wed Mar 24, 2021 6:06 pm
Station model: GW-1000 (ecowitt)
Software: ecowitt-http-gateway-mast

Re: Update footer.php ( seasons defined till 2023 )

Post by eracerhead » Wed Mar 31, 2021 9:28 pm

Thanks!

User avatar
meteolopik
Observer
Observer
Posts: 26
Joined: Tue Jun 04, 2019 11:09 am
Location: Lopik
Station model: Davis Pro 2 Plus
Software: Weather Display
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by meteolopik » Sun Apr 04, 2021 5:21 pm

Updated the file. Thank you!
Image

Bigbaywx
Observer
Observer
Posts: 21
Joined: Mon Jun 22, 2020 8:47 pm
Station model: Davis Vantate Pro2
Software: weatherlink data logger

Re: Update footer.php ( seasons defined till 2023 )

Post by Bigbaywx » Sat Apr 10, 2021 12:01 pm

Thanks for the update!!

User avatar
MonyMony
Forecaster
Forecaster
Posts: 180
Joined: Sun Aug 20, 2017 12:54 pm
Location: Elkton, Maryland, US
Station model: Davis Pro 2
Software: WeatherCat/Meteobridge
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by MonyMony » Sun Apr 11, 2021 3:23 pm

I will add my thanks!
iu-2.gif
iu-2.gif (621.05 KiB) Viewed 6085 times
Image

User avatar
theo1964
Newbie
Newbie
Posts: 4
Joined: Tue Apr 13, 2021 6:52 pm
Location: Lemmer
Station model: Davis VP2
Software: CumulusMX
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by theo1964 » Mon Apr 26, 2021 6:58 pm

Thank you for sharing!

kd7eir
Advisor
Advisor
Posts: 56
Joined: Sun Aug 20, 2017 2:58 pm
Station model: Ecowitt Wittboy
Software: FOSHKplugin

Re: Update footer.php ( seasons defined till 2023 )

Post by kd7eir » Thu Apr 29, 2021 8:14 pm

Thank you!
Image

linux150
Observer
Observer
Posts: 15
Joined: Sat May 22, 2021 12:18 pm
Station model: WMR968
Software: SDR -> Weewx -> MT
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by linux150 » Sun Jun 13, 2021 9:52 am

Thank you, one error less :-)

User avatar
atari
Observer
Observer
Posts: 11
Joined: Tue Sep 05, 2017 11:54 pm
Location: Paraćin
Station model: ws2315
Software: weewx,cumulus
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by atari » Sun Mar 13, 2022 12:21 pm

Thanks, good job!
Image

Tigro11
Observer
Observer
Posts: 31
Joined: Fri Nov 08, 2019 8:11 pm
Location: Italy
Station model: davis 6152
Software: weatherLink - cumulus mx
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by Tigro11 » Thu Mar 31, 2022 10:45 am

perfetto, funziona.
si può aggiornare fino al 2032?

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by davidefa » Thu Mar 31, 2022 10:49 am

Yes... but I hope there will be a new release before 2032
Image

Tigro11
Observer
Observer
Posts: 31
Joined: Fri Nov 08, 2019 8:11 pm
Location: Italy
Station model: davis 6152
Software: weatherLink - cumulus mx
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by Tigro11 » Thu Mar 31, 2022 11:23 am

perfect :D

livefeed
Observer
Observer
Posts: 20
Joined: Sat Jan 26, 2019 6:05 am
Location: Lusby, MD
Station model: Davis pro 2
Software: Meteobridge
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by livefeed » Mon Apr 04, 2022 5:21 pm

Thank you for this.
Image

Ironside1977
Observer
Observer
Posts: 12
Joined: Thu Apr 09, 2020 5:21 am
Location: Inca
Station model: Davis Vue
Software: Cumulus
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by Ironside1977 » Sat Apr 09, 2022 3:50 pm

Thanks, it's great¡¡¡¡
Image

User avatar
iatros
Language Admin
Language Admin
Posts: 145
Joined: Mon Aug 21, 2017 5:56 am
Location: Flims Waldhaus Switzerland
Station model: Davis Pro 2 6163
Software: Meteobridge
Contact:

Re: Update footer.php ( seasons defined till 2023 )

Post by iatros » Wed Apr 13, 2022 8:01 am

works - thanks and
Happy Easter
Martin
Image

Language Admin für Deutsch

JohnH
Newbie
Newbie
Posts: 3
Joined: Wed Aug 30, 2017 3:34 pm
Location: Welch, Texas
Station model: WeatherFlow Tempest
Software: WeeWx API

Re: Update footer.php ( seasons defined till 2023 )

Post by JohnH » Sat May 07, 2022 3:23 am

Excellent! Fixed and works great on 18.0 as of 5-6-2022!

Post Reply