moonPhase Mobile

Post Reply
User avatar
meteoesine
Forecaster
Forecaster
Posts: 184
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2+
Software: Meteobridge nano
Contact:

moonPhase Mobile

Post by meteoesine » Sun Jan 18, 2026 6:57 am

Hi everyone,
I extracted part of the moonPhase block code (original version 2.0) and added it to the current block in the /MOBILE version.

Now I’d like to move the moon image into the header, just like in the desktop version, but I can’t figure out where exactly the code should be placed.
Even after following ChatGPT’s suggestions, it still doesn’t work and throws a PHP error.

Any ideas or suggestions would be greatly appreciated.
Thanks in advance!

https://meteoesine.it/template/indexMobile.php
Attachments
Screenshot_20260118_072924_Kiwi Browser.jpg
Screenshot_20260118_072924_Kiwi Browser.jpg (255.54 KiB) Viewed 339 times
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

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

Re: moonPhase Mobile

Post by davidefa » Mon Jan 19, 2026 10:36 am

You can try this version of header.php ( put it in the mobile folder )

P.S.
I would have been really surprised if the "chatThing" could have found a solution ( but is indeed a great piece of software )
Attachments
header_moon.zip
(4.76 KiB) Downloaded 24 times
Image

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

Re: moonPhase Mobile

Post by Jolumarali » Mon Jan 19, 2026 5:26 pm

Parfait Davide, et content de te revoir
Last edited by Jolumarali on Tue Jan 20, 2026 6:45 am, edited 1 time in total.
Image
Station météo amateur Lignerolles
OS : Windows 11 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya

https://meteo-lignerolles.fr

José Luis

User avatar
meteoesine
Forecaster
Forecaster
Posts: 184
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2+
Software: Meteobridge nano
Contact:

Re: moonPhase Mobile

Post by meteoesine » Tue Jan 20, 2026 6:37 am

Thank you, Davide, always ready to solve the requested issues.
Warm greetings to all friends.
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

Post Reply