I see. Sorry, but I don't know anything about the Bootstrap skin. I assume it works in a similar way.
On Tue, Feb 16, 2021 at 12:12 AM Auchtermuchty Weather <shunrac...@gmail.com> wrote: > I'm using the Bootstrap skin which has $NOAATable which generates the > layout I want. but not quite the code. That's what I'm asking about - > $NOAATable in the Bootstrap skin. > > I wanted to find the $NOAATable source rather than start from scratch. > > Otherwise, I have custom Javascript in the Wiki, I have the drop-down way > of displaying a NOAA-yyyy.txt etc. working in the DokuWiki page, my NOAA > files are being correctly generated. > > > On Monday, 15 February 2021 at 19:08:48 UTC tke...@gmail.com wrote: > >> Did you check the locations I mentioned in my post? To repeat: >> >> If you're asking how to customize the Javascript, it depends on the skin. >>> For the "Standard" skin, it's in the template itself, index.html.tmpl. Just >>> modify the template. For the "Seasons" skin, it's in seasons.js. >> >> On Mon, Feb 15, 2021 at 10:05 AM Auchtermuchty Weather < >> shunr...@gmail.com> wrote: >> >>> >>> The output files need to have '.txt' and the end, but the links to them >>> mustn't include it so they fit the DokuWiki way of doing things. By >>> default they do and I can't find where that code is generated to amend it. >>> >>> >>> On Monday, 15 February 2021 at 14:56:10 UTC tke...@gmail.com wrote: >>> >>>> I'm not sure what you're asking. >>>> >>>> If you're asking how to customize the Javascript, it depends on the >>>> skin. For the "Standard" skin, it's in the template itself, >>>> index.html.tmpl. Just modify the template. For the "Seasons" skin, it's in >>>> seasons.js. >>>> >>>> If you're asking how the name of the generated file is set, it's the >>>> template name minus the ".tmpl" at the end. So, if you don't want the >>>> ".txt" suffix, just rename the NOAA templates. >>>> >>>> Does that answer your question? >>>> >>>> On Mon, Feb 15, 2021 at 6:45 AM Auchtermuchty Weather < >>>> shunr...@gmail.com> wrote: >>>> >>>>> I much prefer the output of NOAATable for making the NOAA reports >>>>> available. >>>>> >>>>> However my template where I want this to appear is creating a Dokuwiki >>>>> Page, so if the name in the link ends with '.txt' it looks for a file >>>>> ending in '.txt.txt'. >>>>> >>>>> I have it working with the drop-downs as per the header in the >>>>> Standard website by not appending the '.txt' in the Javascript that loads >>>>> the page. >>>>> >>>>> What I'd like to do is customise NOAATable so the link is missing the >>>>> '.txt' - I'd rather not write my own version of it if possible. >>>>> >>>>> But I've searched & searched and can't find where & how it's >>>>> implemented. >>>>> >>>>> -- >>>>> 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 weewx-user+...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/79992f9a-7079-42bb-bb20-9df8fd088fbdn%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/weewx-user/79992f9a-7079-42bb-bb20-9df8fd088fbdn%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 weewx-user+...@googlegroups.com. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/8efe627d-02a3-498b-9148-9552721f6127n%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/8efe627d-02a3-498b-9148-9552721f6127n%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 weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/5a45c271-61b7-4877-a3c3-494a7219919en%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/5a45c271-61b7-4877-a3c3-494a7219919en%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECwSHpPXqC_B_GCWNw7vR93xZHQHwWWWCgqSQYtsnrNnw%40mail.gmail.com.