Additionally I wrote a little example. Save the file almanac.html.tmpl to 
the directory of the standard skin. The add in skin.conf before the 
[[[RSS]]] line:

        [[[almanac]]]

            template = almanac.html.tmpl


And add to each .tmpl file at the end after the other buttons the line:

<input type="button" value=$pgettext("Buttons","Almanac") 
onclick="openURL('almanac.html')" />

Wait 5 minutes and press "Reload". The you will see a new button, called 
"Almanac" at the bottom of the page. 

The result is not really beautiful, but it shows the principle.


-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/24f55110-15f1-4543-85ef-4d2892f3ba44n%40googlegroups.com.

Attachment: almanac.html.tmpl
Description: Binary data

Reply via email to