On Friday, February 8, 2019 at 10:04:35 AM UTC-5, bgrattan wrote:
>
> Any idea what's going on here? You say its working for you but I can't
> seem to find the correct setting to have both the forecast and NOAA
> summaries. I have attached my Standard/skin.conf
>
in your index.html.tmpl you have commented out the cheetah code that
generates the 'select' items for the NOAA menus.
this is what i see in your generated html:
<select NAME=noaaselect onchange="openNoaaFile(value)">
<!-- for $monthYear in []
<option value="$monthYear">$monthYear</option>
end for -->
<option selected>-Select month-</option>
</select>
<br/>
Yearly summary:
<select NAME=noaaselect onchange="openNoaaFile(value)">
<!-- for $yr in []
<option value="$yr">$yr</option>
end for -->
<option selected>-Select year-</option>
</select>
this is what is in the original index.html.tmpl:
<select NAME=noaaselect onchange="openNoaaFile(value)">
#for $monthYear in $SummaryByMonth
<option value="$monthYear">$monthYear</option>
#end for
<option selected>-Select month-</option>
</select>
<br/>
Yearly summary:
<select NAME=noaaselect onchange="openNoaaFile(value)">
#for $yr in $SummaryByYear
<option value="$yr">$yr</option>
#end for
<option selected>-Select year-</option>
</select>
you have removed the '#for' loops, so the menus are not generated.
m
--
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.