Simple Question for Standard Skin

91 views
Skip to first unread message

Steve Wagener

unread,
Feb 28, 2021, 6:33:15 PM2/28/21
to weewx-user
Is there a way of having a smartphone button added to the standard skin. I've seen it a older standard skin in the screenshots on Weewx.com http://www.weewx.com/screenshots/hoodriver.png

Thanks in advance. 

-saw-

Tom Keffer

unread,
Feb 28, 2021, 8:32:20 PM2/28/21
to weewx-user
Of course. It's just HTML. You can link anything.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e894a225-03b8-48e7-b975-515d1bb1cecfn%40googlegroups.com.

Steve Wagener

unread,
Mar 1, 2021, 9:57:54 AM3/1/21
to weewx-user
I assumed that is commonly understood. Guess I asked in the wrong place. I was looking for some help with that. Also wondering why a simple "just html" thing isn't included in the standard skin. -saw-

vince

unread,
Mar 1, 2021, 11:10:09 AM3/1/21
to weewx-user
On Monday, March 1, 2021 at 6:57:54 AM UTC-8 wagt...@charter.net wrote:
I assumed that is commonly understood. Guess I asked in the wrong place. I was looking for some help with that. Also wondering why a simple "just html" thing isn't included in the standard skin. -saw-


Wow.

You can get some help by doing a google search for "html button" and looking at the examples that are in every page that search returns.

 

Tom Keffer

unread,
Mar 1, 2021, 11:27:11 AM3/1/21
to weewx-user
It's not in the Standard skin because not everyone wants, or needs, a smartphone formatted version, so a link is not always needed.

Figure out where you want the link located in the Standard skin index template index.html.tmpl, then place something like this in that location (NOT TESTED):

<a href="smartphone">Smartphone formatted</a>

Then, make sure you enable the smartphone skin! In weewx.conf:

    [[SmartphoneReport]]
        # The SmartphoneReport uses the 'Smartphone' skin, and the images and
        # files are placed in a dedicated subdirectory.
        skin = Smartphone
        enable = true
        HTML_ROOT = public_html/smartphone



Steve Wagener

unread,
Mar 1, 2021, 5:50:27 PM3/1/21
to weewx-user

Thanks for your attempt at helping me. Your message to me is quite clear. -saw-

Steve Wagener

unread,
Mar 1, 2021, 5:54:13 PM3/1/21
to weewx-user
Thanks for sending me in the right direction. Exactly the help I needed. I may be out of my league in trying some of this for the first time but I'm not sure where else to get help to begin learning. Getting closer. I'lll publish my results once I get it fully tested. I'm just doing a generic install and trying to get a couple of tweaks. I'm not a developer nor a programmer but I did have some Sun OS training back in the 80's that helps me with the command line and the VI editor. Thanks again for the help! -saw-

Steve Wagener

unread,
Mar 1, 2021, 6:23:34 PM3/1/21
to weewx-user

?
On Monday, March 1, 2021 at 10:10:09 AM UTC-6 vince wrote:
Reply all
Reply to author
Forward
0 new messages