Using $SummaryByMonth (Month-%Y-%m.html.tmpl) I produce a monthly report in
HTML format and to make it easier to view I would like a full list of all
months in a drop down list on all reports.
Using #for $monthYear in $SummaryByMonth only gives a list up to the report
date nothing beyond.
Using #for $year in $alltime.years
#for $mth in $year.months only populates the months in the
year of the report.
$year in $alltime.years doesn't seem to work in $SummaryByMonth .
I can achieve this by manually adding a new month using <option value
="2020-05">2020-05</option> etc.
Is it possibly to populate a drop down list automatically.
Thanks Phil
--
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 on the web visit
https://groups.google.com/d/msgid/weewx-user/32d93b60-7dee-4210-b177-1f033663dba0n%40googlegroups.com.