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 [email protected] 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 <[email protected]> 
> 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 [email protected] 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 <
>>> [email protected]> 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 [email protected].
>>>> 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 [email protected].
>>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5a45c271-61b7-4877-a3c3-494a7219919en%40googlegroups.com.

Reply via email to