I've thought about this as well, but have not found an easy way to do this.
Best bet would be to create a frame, which would include the drop down
list, then include the report in the frame.

On Sun, Sep 6, 2020 at 3:28 AM [email protected] <
[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/weewx-user/32d93b60-7dee-4210-b177-1f033663dba0n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPq0zECWJBno95bC%2Bpqr40cLYurB-wciGXeFH_JBXfFoHxaF6g%40mail.gmail.com.

Reply via email to