Yup; so standard aherf links are allowed in the template file. Just
looked like like links had to be put in [] [] and call it from the
file. See below.. I was just confused...
Extending [Extras]
Other tags can be added in a similar manner, including subsections.
For example, say you have added a video camera and you would like to
add a still image with a hyperlink to a page with the video. You want
all of these options to be neatly contained in a subsection.
[Extras]
[[video]]
still = video_capture.jpg
hyperlink =
http://www.eatatjoes.com/video.html
Then in your template you could refer to these as:
<a href="$Extras.video.hyperlink">
<img src="$Extras.video.still" alt="Video capture"/>
</a>
On Jan 20, 8:16 pm, Thomas Keffer <
tkef...@gmail.com> wrote:
> It is a limitation in weewx. It was the tradeoff for allowing the very
> flexible configuration options for image generation. I'm sure there's some
> way around it, but I haven't spent any time working on the problem because
> not many people are affected.
>
> My apologies, but I'm not following your question about "links in the
> template file". Are you referring to the HTML links within the templates? If
> so, they are just like any other HTML links. Nothing special about them.
>
> Or, are you referring to how weewx decides which template files to use and,
> thus, which files get generated? If so, then, yes, every template file must
> be mentioned in the skin configuration file (skins/Standard/skin.conf in the
> case of the Standard report) in the [FileGenerator] section.
>
> Did I get lucky and answer your question? :-)
>
> -tk
>
> > <
weewx-user%2Bunsu...@googlegroups.com<
weewx-user%252Buns...@googlegroups.com>