Done, but still nothing on the landing page.
#include "../forecast/forecast_strip.inc"
<script>
populate_strip('wu_strip', 'WU');
</script>
<p> </p>
<div class="stats">
<div class="stats_header">
Since Midnight
</div>
<table>
<tbody>
<tr>
<td class="stats_label">
Is there some issue with the fact that the include file is in
/home/weewx/skins/forecast whereas I am referencing it from
/home/weewx/skins/Standard ? I am certainly using '../forecast...' to
point to it, but would it be better if that include file were in with the
Standard skin files?
On 5 February 2018 at 14:39, mwall <[email protected]> wrote:
>
>
> On Monday, February 5, 2018 at 8:41:03 AM UTC-5, Cycle London wrote:
>>
>> You want all of the HTML/Javascript pasted in?
>>
>
> just wanted to see whether the .inc file was, in fact, being included. it
> is, so that means the search list extension is working.
>
> so you are just missing the one line of javascript that makes it all
> happen.
>
> in the forecast extension's 'forecast' skin, take a look at the file
> single-strip.html.tmpl
>
> toward the bottom of the file you will see this:
>
> <script>
> populate_strip('wu_strip', 'WU');
> </script>
>
> you need to add that to your index.html.tmpl somehwere *after* the include
> of the .inc
>
> m
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/weewx-user/IC1-oPV_Q9w/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
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].
For more options, visit https://groups.google.com/d/optout.